Skip to content

Commit 3888b69

Browse files
committed
Remove doublerun guard
1 parent 4c5f423 commit 3888b69

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

CPAC/utils/configuration/configuration.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,6 @@ def __init__(self, config_map=None):
118118
# replace spaces with hyphens in Regressor 'Name's
119119
regressor['Name'] = regressor['Name'].replace(' ', '-')
120120

121-
# Don't double-run FreeSurfer
122-
try:
123-
if 'FreeSurfer-ABCD' in config_map['anatomical_preproc'][
124-
'brain_extraction']['using']:
125-
self.set_nested(config_map,
126-
['surface_analysis', 'freesurfer',
127-
'run_reconall'],
128-
False)
129-
warn(DOUBLERUN_GUARD_MESSAGE)
130-
except (KeyError, TypeError):
131-
pass
132-
133121
config_map = schema(config_map)
134122

135123
# remove 'FROM' before setting attributes now that it's imported

0 commit comments

Comments
 (0)