Skip to content

Commit 8e81cf9

Browse files
committed
FIX: update fmriprep naming to petprep
1 parent 2386e08 commit 8e81cf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

petprep/cli/run.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def main():
5454
tracker.start()
5555

5656
if 'pdb' in config.execution.debug:
57-
from fmriprep.utils.debug import setup_exceptionhook
57+
from petprep.utils.debug import setup_exceptionhook
5858

5959
setup_exceptionhook()
6060
config.nipype.plugin = 'Linear'
@@ -97,7 +97,7 @@ def main():
9797

9898
# CRITICAL Load the config from the file. This is necessary because the ``build_workflow``
9999
# function executed constrained in a process may change the config (and thus the global
100-
# state of fMRIPrep).
100+
# state of PETPrep).
101101
config.load(config_file)
102102

103103
if config.execution.reports_only:
@@ -169,7 +169,7 @@ def main():
169169
if config.environment.exec_env in (
170170
'singularity',
171171
'docker',
172-
'fmriprep-docker',
172+
'petprep-docker',
173173
):
174174
boiler_file = Path('<OUTPUT_PATH>') / boiler_file.relative_to(
175175
config.execution.output_dir
@@ -205,7 +205,7 @@ def main():
205205
config.loggers.workflow.log(25, f'Saving logs at: {config.execution.log_dir}')
206206
config.loggers.workflow.log(25, f'Carbon emissions: {emissions} kg')
207207

208-
from fmriprep.reports.core import generate_reports
208+
from petprep.reports.core import generate_reports
209209

210210
# Generate reports phase
211211
session_list = (

0 commit comments

Comments
 (0)