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.
2 parents cbd55e2 + 0fd5842 commit 6b0fbaaCopy full SHA for 6b0fbaa
nipype/interfaces/freesurfer/model.py
@@ -752,8 +752,9 @@ def _list_outputs(self):
752
753
def _format_arg(self, name, spec, value):
754
if name in ('summary_file', 'avgwf_txt_file'):
755
- if not os.path.isabs(value):
756
- value = os.path.join('.', value)
+ if not isinstance(value, bool):
+ if not os.path.isabs(value):
757
+ value = os.path.join('.', value)
758
if name in ['avgwf_txt_file', 'avgwf_file', 'sf_avg_file']:
759
if isinstance(value, bool):
760
fname = self._list_outputs()[name]
0 commit comments