Skip to content

Commit 7b8b5db

Browse files
committed
changed input variable names
1 parent c7122ac commit 7b8b5db

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

nipype/interfaces/dtitk/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77

88
#from .base import ()
9-
from .registration import (RigidTask, AffineTask, DiffeoTask, ComposeXfmTask,
9+
from ..dtitk.registration import (RigidTask, AffineTask, DiffeoTask, ComposeXfmTask,
1010
diffeoSymTensor3DVolTask, affSymTensor3DVolTask, affScalarVolTask, diffeoScalarVolTask)
11-
from .utils import (TVAdjustOriginTask, TVAdjustVoxSpTask, SVAdjustVoxSpTask,
11+
from ..dtitk.utils import (TVAdjustOriginTask, TVAdjustVoxSpTask, SVAdjustVoxSpTask,
1212
TVResampleTask, SVResampleTask, TVtoolTask, BinThreshTask)

nipype/interfaces/dtitk/utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _gen_filename(self, name):
111111

112112

113113
class SVAdjustVoxSpInputSpec(CommandLineInputSpec):
114-
in_volume = traits.Str(desc="image to resample", exists=True,
114+
in_file = traits.Str(desc="image to resample", exists=True,
115115
mandatory=True, position=0, argstr="-in %s")
116116
in_target = traits.Str(desc='target volume', exists=True, mandatory=False,
117117
position=2, argstr="-target %s")
@@ -164,7 +164,7 @@ def _gen_filename(self, name):
164164

165165

166166
class TVResampleInputSpec(CommandLineInputSpec):
167-
in_tensor = traits.Str(desc="image to resample", exists=True,
167+
in_file = traits.Str(desc="image to resample", exists=True,
168168
mandatory=True, position=0, argstr="-in %s")
169169
in_arraysz = traits.Str(desc='resampled array size', exists=True,
170170
mandatory=False, position=1, argstr="-size %s")
@@ -215,7 +215,7 @@ def _gen_filename(self, name):
215215

216216

217217
class SVResampleInputSpec(CommandLineInputSpec):
218-
in_volume = traits.Str(desc="image to resample", exists=True,
218+
in_file = traits.Str(desc="image to resample", exists=True,
219219
mandatory=True, position=0, argstr="-in %s")
220220
in_arraysz = traits.Str(desc='resampled array size', exists=True,
221221
mandatory=False, position=1, \
@@ -267,7 +267,7 @@ def _gen_filename(self, name):
267267

268268

269269
class TVtoolInputSpec(CommandLineInputSpec):
270-
in_tensor = traits.Str(desc="image to resample", exists=True,
270+
in_file = traits.Str(desc="image to resample", exists=True,
271271
mandatory=False, position=0, argstr="-in %s")
272272
in_flag = traits.Enum('fa', 'tr', 'ad', 'rd', 'pd', 'rgb', exists=True,
273273
mandatory=False, position=1, argstr="-%s", desc='')
@@ -314,7 +314,7 @@ def _gen_filename(self, name):
314314

315315

316316
class BinThreshInputSpec(CommandLineInputSpec):
317-
in_image = traits.Str(desc='', exists=True, mandatory=False, position=0,
317+
in_file = traits.Str(desc='', exists=True, mandatory=False, position=0,
318318
argstr="%s")
319319
out_path = traits.Str(desc='', exists=True, mandatory=False, position=1,
320320
argstr="%s")

0 commit comments

Comments
 (0)