Skip to content

Commit b4cc4db

Browse files
authored
Merge pull request #3583 from jadecci/master
Fix bugs with `fsl_out=True` and `lta_out=True`
2 parents 68a7cd4 + 46554ac commit b4cc4db

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.zenodo.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,12 @@
900900
"affiliation": "University of Tübingen and MPI for Biological Cybernertics",
901901
"name": "Bannert, Michael M.",
902902
"orcid": "0000-0003-1010-7517"
903-
}
903+
},
904+
{
905+
"affiliation": "Research Centre Juelich",
906+
"name": "Wu, Jianxiao",
907+
"orcid": "0000-0002-4866-272X",
908+
},
904909
],
905910
"keywords": [
906911
"neuroimaging",

nipype/interfaces/freesurfer/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@ def _format_arg(self, name, spec, value):
19661966
if name == "lta_in" and self.inputs.invert_lta_in:
19671967
spec = "--lta-inv %s"
19681968
if name in ("fsl_out", "lta_out") and value is True:
1969-
value = self._list_outputs()[name]
1969+
value = self._list_outputs()[f'{name[:3]}_file']
19701970
return super()._format_arg(name, spec, value)
19711971

19721972
def _list_outputs(self):

0 commit comments

Comments
 (0)