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 c5d55b3 commit a07d9eaCopy full SHA for a07d9ea
nipype/interfaces/afni/utils.py
@@ -748,7 +748,8 @@ class ConvertDsetInputSpec(CommandLineInputSpec):
748
out_file = File(
749
desc='output file for ConvertDset',
750
argstr='-prefix %s',
751
- position=-1)
+ position=-1,
752
+ mandatory=True)
753
754
out_type = traits.Enum(
755
('niml', 'niml_asc', 'niml_bi',
@@ -783,6 +784,11 @@ class ConvertDset(AFNICommandBase):
783
784
input_spec = ConvertDsetInputSpec
785
output_spec = AFNICommandOutputSpec
786
787
+ def _list_outputs(self):
788
+ outputs = self.output_spec().get()
789
+ outputs['out_file'] = op.abspath(self.inputs.out_file)
790
+ return outputs
791
+
792
793
class CopyInputSpec(AFNICommandInputSpec):
794
in_file = File(
0 commit comments