From 4f8aa4b66bd317742c42f0f6e8024d96157a762b Mon Sep 17 00:00:00 2001 From: Oliver Contier Date: Thu, 29 Oct 2020 16:11:51 +0100 Subject: [PATCH 1/2] changed _list_outputs() method of EpiReg interface to check whether 'seg' output exists in case 'wmseg' input is already provided --- nipype/interfaces/fsl/epi.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/nipype/interfaces/fsl/epi.py b/nipype/interfaces/fsl/epi.py index e5dbe6de19..f6772aa53b 100644 --- a/nipype/interfaces/fsl/epi.py +++ b/nipype/interfaces/fsl/epi.py @@ -1306,20 +1306,19 @@ def _list_outputs(self): outputs["epi2str_inv"] = os.path.join( os.getcwd(), self.inputs.out_base + "_inv.mat" ) - + if not isdefined(self.inputs.wmseg): + outputs["wmedge"] = os.path.join( + os.getcwd(), self.inputs.out_base + "_fast_wmedge.nii.gz" + ) + outputs["wmseg"] = os.path.join( + os.getcwd(), self.inputs.out_base + "_fast_wmseg.nii.gz" + ) + outputs["seg"] = os.path.join( + os.getcwd(), self.inputs.out_base + "_fast_seg.nii.gz" + ) outputs["epi2str_mat"] = os.path.join( os.getcwd(), self.inputs.out_base + ".mat" ) - outputs["wmedge"] = os.path.join( - os.getcwd(), self.inputs.out_base + "_fast_wmedge.nii.gz" - ) - outputs["wmseg"] = os.path.join( - os.getcwd(), self.inputs.out_base + "_fast_wmseg.nii.gz" - ) - outputs["seg"] = os.path.join( - os.getcwd(), self.inputs.out_base + "_fast_seg.nii.gz" - ) - return outputs From 177724544abeee1872d0a4054d4d599299aa9281 Mon Sep 17 00:00:00 2001 From: Oliver Contier Date: Thu, 29 Oct 2020 16:42:49 +0100 Subject: [PATCH 2/2] updated affiliation --- .zenodo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zenodo.json b/.zenodo.json index 7324bd942c..cb9ffacc3c 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -487,7 +487,7 @@ "name": "Perkins, L. Nathan" }, { - "affiliation": "Otto-von-Guericke-University Magdeburg, Germany", + "affiliation": "Max Planck Institute for Human Cognitive and Brain Sciences", "name": "Contier, Oliver", "orcid": "0000-0002-2983-4709" },