Skip to content

Commit fb6fbca

Browse files
committed
fix: logic of if
1 parent 1b1bcd6 commit fb6fbca

File tree

1 file changed

+2
-1
lines changed
  • nipype/workflows/smri/freesurfer

1 file changed

+2
-1
lines changed

nipype/workflows/smri/freesurfer/recon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ def create_reconall_workflow(name="ReconAll", plugin_args=None):
136136

137137
# check freesurfer version and set parameters
138138
fs_version_full = Info.version()
139-
if fs_version_full and 'v6.0' in fs_version_full or 'dev' in fs_version_full:
139+
if fs_version_full and ('v6.0' in fs_version_full or
140+
'dev' in fs_version_full):
140141
# assuming that dev is 6.0
141142
fsvernum = 6.0
142143
fs_version = 'v6.0'

0 commit comments

Comments
 (0)