Skip to content

Commit

Permalink
[FIX] mif2fib (#116)
Browse files Browse the repository at this point in the history
* fix mif2fib to use --fib argument

* add Amelie to zenodo
  • Loading branch information
ameliecr authored Oct 4, 2024
1 parent b32070f commit bd3f918
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
"affiliation": "Perelman School of Medicine, University of Pennsylvania",
"orcid": "0000-0002-8640-668X"
},
{
"name": "Rauland, Amelie",
"affiliation": "Department of Psychology, University Hospital RWTH Aachen, Germany",
"orcid": "0000-0002-8095-2073"
},
{
"name": "Satterthwaite, Theodore D.",
"affiliation": "Perelman School of Medicine, University of Pennsylvania, PA, USA",
Expand Down
5 changes: 2 additions & 3 deletions qsirecon/interfaces/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class FODtoFIBGZInputSpec(BaseInterfaceInputSpec):
num_fibers = traits.Int(5, usedefault=True)
unit_odf = traits.Bool(False, usedefault=True)
fib_file = File()
output_fib_file = File()


class FODtoFIBGZOutputSpec(TraitedSpec):
Expand All @@ -55,8 +54,8 @@ class FODtoFIBGZ(SimpleInterface):
def _run_interface(self, runtime):
mif_file = self.inputs.mif_file
mask_file = self.inputs.mask_file
if isdefined(self.inputs.output_fib_file):
output_fib_file = self.inputs.output_fib_file
if isdefined(self.inputs.fib_file):
output_fib_file = self.inputs.fib_file
if output_fib_file.endswith(".gz"):
output_fib_file = output_fib_file[:-3]
else:
Expand Down

0 comments on commit bd3f918

Please sign in to comment.