We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55716a commit 1468583Copy full SHA for 1468583
nipype/interfaces/niftyreg/regutils.py
@@ -122,7 +122,7 @@ class RegResample(NiftyRegCommand):
122
# Need this overload to properly constraint the interpolation type input
123
def _format_arg(self, name, spec, value):
124
if name == 'inter_val':
125
- inter_val = {'NN': 0, 'LIN': 1, 'CUB': 3, 'SINC': 5}
+ inter_val = {'NN': 0, 'LIN': 1, 'CUB': 3, 'SINC': 4}
126
return spec.argstr % inter_val[value]
127
else:
128
return super(RegResample, self)._format_arg(name, spec, value)
@@ -338,7 +338,7 @@ class RegTools(NiftyRegCommand):
338
339
340
341
342
343
344
return super(RegTools, self)._format_arg(name, spec, value)
0 commit comments