Skip to content

Commit 4da4516

Browse files
committed
fix: fix env again
1 parent 9ca4626 commit 4da4516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/workflows/fmri/fsl/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ def create_reg_workflow(name='registration'):
11471147
mean2anatbbr = pe.Node(fsl.FLIRT(), name='mean2anatbbr')
11481148
mean2anatbbr.inputs.dof = 6
11491149
mean2anatbbr.inputs.cost = 'bbr'
1150-
mean2anatbbr.inputs.schedule = os.path.join(os.env['FSLDIR'],
1150+
mean2anatbbr.inputs.schedule = os.path.join(os.getenv('FSLDIR'),
11511151
'etc/flirtsch/bbr.sch')
11521152
register.connect(inputnode, 'mean_image', mean2anatbbr, 'in_file')
11531153
register.connect(binarize, 'out_file', mean2anatbbr, 'wm_seg')

0 commit comments

Comments
 (0)