File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
nipype/workflows/smri/freesurfer Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -151,16 +151,17 @@ def create_reconall_workflow(name="ReconAll", plugin_args=None):
151
151
else :
152
152
# 5.3 is default
153
153
fsvernum = 5.3
154
- if 'v5.3' in fs_version_full :
155
- fs_version = 'v5.3'
156
- else :
157
- if fs_version_full :
158
- fs_version = fs_version_full .split ('-' )[- 1 ]
154
+ if fs_version_full :
155
+ if 'v5.3' in fs_version_full :
156
+ fs_version = 'v5.3'
159
157
else :
160
- fs_version = 5.3 # assume version 5.3
161
- print ("Warning: Workflow may not work properly if FREESURFER_HOME " +
162
- "environmental variable is not set or if you are using an older " +
163
- "version of FreeSurfer" )
158
+ fs_version = fs_version_full .split ('-' )[- 1 ]
159
+ logger .info (("Warning: Workflow may not work properly if "
160
+ "FREESURFER_HOME environmental variable is not "
161
+ "set or if you are using an older version of "
162
+ "FreeSurfer" ))
163
+ else :
164
+ fs_version = 5.3 # assume version 5.3
164
165
th3 = False
165
166
shrink = None
166
167
distance = 50
You can’t perform that action at this time.
0 commit comments