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 552fed3 commit 98e475cCopy full SHA for 98e475c
nipype/interfaces/afni/base.py
@@ -146,10 +146,7 @@ def set_default_output_type(cls, outputtype):
146
147
def _overload_extension(self, value):
148
path, base, _ = split_filename(value)
149
- new_path = os.path.join(path, base + Info.outputtype_to_ext(self.inputs.outputtype))
150
- #some AFNI commands assume the relative path is relative to the input not the CWD
151
- if not os.path.isabs(new_path):
152
- return "./" + new_path
+ return os.path.join(path, base + Info.outputtype_to_ext(self.inputs.outputtype))
153
154
def _list_outputs(self):
155
outputs = super(AFNICommand, self)._list_outputs()
0 commit comments