Skip to content

Commit 773f32c

Browse files
committed
don't clean by default - nipype does it outside of the interface
1 parent 038223f commit 773f32c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ class EpiRegInputSpec(FSLCommandInputSpec):
589589
no_fmapreg = traits.Bool(False, argstr='--nofmapreg',
590590
desc='do not perform registration of fmap to T1 \
591591
(use if fmap already registered)')
592-
no_clean = traits.Bool(False, argstr='--noclean',
592+
no_clean = traits.Bool(True, argstr='--noclean', usedefault=True,
593593
desc='do not clean up intermediate files')
594594

595595

@@ -640,8 +640,8 @@ class EpiReg(FSLCommand):
640640
>>> epireg.inputs.pedir='y'
641641
>>> epireg.cmdline #doctest: +ELLIPSIS
642642
'epi_reg --echospacing=0.000670 --fmap=fieldmap_phase_fslprepared.nii \
643-
--fmapmag=fieldmap_mag.nii --fmapmagbrain=fieldmap_mag_brain.nii --pedir=y \
644-
--epi=epi.nii --t1=T1.nii --t1brain=T1_brain.nii --out=epi2struct'
643+
--fmapmag=fieldmap_mag.nii --fmapmagbrain=fieldmap_mag_brain.nii --noclean \
644+
--pedir=y --epi=epi.nii --t1=T1.nii --t1brain=T1_brain.nii --out=epi2struct'
645645
>>> epireg.run() # doctest: +SKIP
646646
647647
"""

0 commit comments

Comments
 (0)