Skip to content

Commit 69435bc

Browse files
committed
[ENH] Implement missing inputs/outputs in avscale
1 parent 356319b commit 69435bc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

nipype/interfaces/fsl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .model import (Level1Design, FEAT, FEATModel, FILMGLS, FEATRegister,
1313
FLAMEO, ContrastMgr, MultipleRegressDesign, L2Model, SMM,
1414
MELODIC, SmoothEstimate, Cluster, Randomise, GLM)
15-
from .utils import (Smooth, Merge, ExtractROI, Split, ImageMaths, ImageMeants,
15+
from .utils import (AvScale, Smooth, Merge, ExtractROI, Split, ImageMaths, ImageMeants,
1616
ImageStats, FilterRegressor, Overlay, Slicer,
1717
PlotTimeSeries, PlotMotionParams, ConvertXFM,
1818
SwapDimensions, PowerSpectrum, Reorient2Std,

nipype/interfaces/fsl/utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,11 @@ def aggregate_outputs(self, runtime=None, needed_outputs=None):
609609

610610

611611
class AvScaleInputSpec(FSLCommandInputSpec):
612-
mat_file = File(exists=True, argstr="%s",
613-
desc='mat file to read', position=0)
612+
all_param = traits.Bool(False, argstr='--allparams')
613+
mat_file = File(exists=True, argstr='%s',
614+
desc='mat file to read', position=-2)
615+
ref_file = File(exists=True, argstr='%s', position=-1,
616+
desc='reference file to get center of rotation')
614617

615618

616619
class AvScaleOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)