File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def init_single_subject_wf(subject_id):
138
138
subject_data ['t2w' ] = []
139
139
140
140
anat_only = config .workflow .anat_only
141
- anat_precomp = config .execution .anat_derivatives is not None
141
+ anat_derivatives = config .execution .anat_derivatives
142
142
# Make sure we always go through these two checks
143
143
if not anat_only and not subject_data ['bold' ]:
144
144
task_id = config .execution .task_id
@@ -148,7 +148,7 @@ def init_single_subject_wf(subject_id):
148
148
subject_id , task_id if task_id else '<all>' )
149
149
)
150
150
151
- if not anat_precomp and not subject_data ['t1w' ]:
151
+ if not anat_derivatives and not subject_data ['t1w' ]:
152
152
raise Exception ("No T1w images found for participant {}. "
153
153
"All workflows require T1w images." .format (subject_id ))
154
154
@@ -217,7 +217,6 @@ def init_single_subject_wf(subject_id):
217
217
dismiss_entities = ("echo" ,)),
218
218
name = 'ds_report_about' , run_without_submitting = True )
219
219
220
- anat_derivatives = config .execution .anat_derivatives
221
220
if anat_derivatives :
222
221
from smriprep .utils .bids import collect_derivatives
223
222
std_spaces = spaces .get_spaces (nonstandard = False , dim = (3 ,))
You can’t perform that action at this time.
0 commit comments