Skip to content
Snippets Groups Projects
Commit eb438077 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

BF: Honour $FSLOUTPUTTYPE, otherwise output files saved by FSL tools may not

be detected
parent c1e5a347
No related branches found
No related tags found
No related merge requests found
...@@ -1268,7 +1268,8 @@ def fileOrImage(*args, **kwargs): ...@@ -1268,7 +1268,8 @@ def fileOrImage(*args, **kwargs):
return infile return infile
def prepOut(workdir, name, val): def prepOut(workdir, name, val):
return op.join(workdir, '{}.nii.gz'.format(name)) return op.join(workdir, f'{name}{fslimage.defaultExt()}')
def load(name, path): def load(name, path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment