From bd3f918135556721939b16c15d8b75a9a26fb2a1 Mon Sep 17 00:00:00 2001 From: ameliecr <57177800+ameliecr@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:39:02 -0400 Subject: [PATCH] [FIX] mif2fib (#116) * fix mif2fib to use --fib argument * add Amelie to zenodo --- .zenodo.json | 5 +++++ qsirecon/interfaces/converters.py | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.zenodo.json b/.zenodo.json index 0bbecd88..6961cdac 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -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", diff --git a/qsirecon/interfaces/converters.py b/qsirecon/interfaces/converters.py index 55963013..71c72f7e 100644 --- a/qsirecon/interfaces/converters.py +++ b/qsirecon/interfaces/converters.py @@ -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): @@ -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: