@@ -27,7 +27,7 @@ def main():
27
27
# CRITICAL Save the config to a file. This is necessary because the execution graph
28
28
# is built as a separate process to keep the memory footprint low. The most
29
29
# straightforward way to communicate with the child process is via the filesystem.
30
- config_file = config .execution .work_dir / '.fmriprep .toml'
30
+ config_file = config .execution .work_dir / '.dmriprep .toml'
31
31
config .to_filename (config_file )
32
32
33
33
# CRITICAL Call build_workflow(config_file, retval) in a subprocess.
@@ -45,7 +45,7 @@ def main():
45
45
46
46
# CRITICAL Load the config from the file. This is necessary because the ``build_workflow``
47
47
# function executed constrained in a process may change the config (and thus the global
48
- # state of fMRIPrep ).
48
+ # state of dMRIPrep ).
49
49
config .load (config_file )
50
50
51
51
if config .execution .reports_only :
@@ -85,15 +85,15 @@ def main():
85
85
except Exception as e :
86
86
if not config .execution .notrack :
87
87
popylar .track_event (__ga_id__ , 'run' , 'error' )
88
- config .loggers .workflow .critical ('fMRIPrep failed: %s' , e )
88
+ config .loggers .workflow .critical ('dMRIPrep failed: %s' , e )
89
89
raise
90
90
else :
91
91
config .loggers .workflow .log (25 , 'dMRIPrep finished successfully!' )
92
92
93
93
# Bother users with the boilerplate only iff the workflow went okay.
94
94
if (config .execution .output_dir / 'dmriprep' / 'logs' / 'CITATION.md' ).exists ():
95
95
config .loggers .workflow .log (
96
- 25 , 'Works derived from this fMRIPrep execution should '
96
+ 25 , 'Works derived from this dMRIPrep execution should '
97
97
'include the following boilerplate:\n \n %s' ,
98
98
(config .execution .output_dir / 'dmriprep' / 'logs' / 'CITATION.md' ).read_text ()
99
99
)
0 commit comments