@@ -38,8 +38,8 @@ def build_workflow(config_file, retval):
3838 from niworkflows .utils .bids import collect_participants
3939 from niworkflows .utils .misc import check_valid_fs_license
4040
41- from fmriprep .reports .core import generate_reports
42- from fmriprep .utils .bids import check_pipeline_version
41+ from petprep .reports .core import generate_reports
42+ from petprep .utils .bids import check_pipeline_version
4343
4444 from .. import config , data
4545 from ..utils .misc import check_deps
@@ -54,18 +54,18 @@ def build_workflow(config_file, retval):
5454 retval ['return_code' ] = 1
5555 retval ['workflow' ] = None
5656
57- banner = [f'Running fMRIPrep version { version } ' ]
57+ banner = [f'Running PETPrep version { version } ' ]
5858 notice_path = data .load .readable ('NOTICE' )
5959 if notice_path .exists ():
6060 banner [0 ] += '\n '
6161 banner += [f'License NOTICE { "#" * 50 } ' ]
62- banner += [f'fMRIPrep { version } ' ]
62+ banner += [f'PETPrep { version } ' ]
6363 banner += notice_path .read_text ().splitlines (keepends = False )[1 :]
6464 banner += ['#' * len (banner [1 ])]
6565 build_log .log (25 , f'\n { " " * 9 } ' .join (banner ))
6666
6767 # warn if older results exist: check for dataset_description.json in output folder
68- msg = check_pipeline_version ('fMRIPrep ' , version , petprep_dir / 'dataset_description.json' )
68+ msg = check_pipeline_version ('PETPrep ' , version , petprep_dir / 'dataset_description.json' )
6969 if msg is not None :
7070 build_log .warning (msg )
7171
@@ -108,7 +108,7 @@ def build_workflow(config_file, retval):
108108
109109 # Build main workflow
110110 init_msg = [
111- "Building fMRIPrep 's workflow:" ,
111+ "Building PETPrep 's workflow:" ,
112112 f'BIDS dataset path: { config .execution .bids_dir } .' ,
113113 f'Participant list: { subject_list } .' ,
114114 f'Run identifier: { config .execution .run_uuid } .' ,
@@ -133,13 +133,13 @@ def build_workflow(config_file, retval):
133133 build_log .critical (
134134 """\
135135 ERROR: Federal Information Processing Standard (FIPS) mode is enabled on your system. \
136- FreeSurfer (and thus fMRIPrep ) cannot be used in FIPS mode. \
136+ FreeSurfer (and thus PETPrep ) cannot be used in FIPS mode. \
137137 Contact your system administrator for assistance."""
138138 )
139139 else :
140140 build_log .critical (
141141 """\
142- ERROR: a valid license file is required for FreeSurfer to run. fMRIPrep looked for an existing \
142+ ERROR: a valid license file is required for FreeSurfer to run. PETPrep looked for an existing \
143143 license file at several paths, in this order: 1) command line argument ``--fs-license-file``; \
144144 2) ``$FS_LICENSE`` environment variable; and 3) the ``$FREESURFER_HOME/license.txt`` path. Get it \
145145 (for free) by registering at https://surfer.nmr.mgh.harvard.edu/registration.html"""
0 commit comments