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 8234ec3 commit 698f93aCopy full SHA for 698f93a
nipype/interfaces/spm/model.py
@@ -315,7 +315,7 @@ def _parse_inputs(self):
315
def _list_outputs(self):
316
outputs = self._outputs().get()
317
pth = os.path.dirname(self.inputs.spm_mat_file)
318
- outtype = "nii" if "12" in self.version.split(".")[0] else "img"
+ outtype = "nii" if self.version.split(".")[0] in ["12", "25"] else "img"
319
spm = load_spm_mat(self.inputs.spm_mat_file, struct_as_record=False)
320
321
betas = [vbeta.fname[0] for vbeta in spm["SPM"][0, 0].Vbeta[0]]
0 commit comments