Skip to content

Commit 2a0c6be

Browse files
committed
out dir for epi_reg is compulsory but meaningless for nipype
1 parent 9a129f4 commit 2a0c6be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,8 @@ class EpiRegInputSpec(FSLCommandInputSpec):
568568
position=-3, desc='wholehead T1 image')
569569
t1_brain = File(exists=True, argstr='--t1brain=%s', mandatory=True,
570570
position=-2, desc='brain extracted T1 image')
571-
out_base = traits.String(desc='output base name', argstr='--out=%s',
572-
position=-1)
571+
out_base = traits.String("epi2struct", desc='output base name', argstr='--out=%s',
572+
position=-1, usedefault=True)
573573
fmap = File(exists=True, argstr='--fmap=%s',
574574
desc='fieldmap image (in rad/s)')
575575
fmapmag = File(exists=True, argstr='--fmapmag=%s',

nipype/interfaces/fsl/tests/test_auto_EpiReg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_EpiReg_inputs():
2929
),
3030
out_base=dict(argstr='--out=%s',
3131
position=-1,
32+
usedefault=True,
3233
),
3334
output_type=dict(),
3435
pedir=dict(argstr='--pedir=%s',

0 commit comments

Comments
 (0)