From f2eedeea2951b4dcfbcdbc50a0a4f7534ad333f2 Mon Sep 17 00:00:00 2001 From: eort Date: Thu, 22 Feb 2018 15:28:33 +0100 Subject: [PATCH 1/2] Extract unit information from image header --- nipype/algorithms/confounds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipype/algorithms/confounds.py b/nipype/algorithms/confounds.py index 10985edc6f..8961433c14 100644 --- a/nipype/algorithms/confounds.py +++ b/nipype/algorithms/confounds.py @@ -532,7 +532,7 @@ def _run_interface(self, runtime): # Derive TR from NIfTI header, if possible try: TR = imgseries.header.get_zooms()[3] - if imgseries.get_xyzt_units()[1] == 'msec': + if imgseries.header.get_xyzt_units()[1] == 'msec': TR /= 1000 except (AttributeError, IndexError): TR = 0 From f3efbd96e3536e49a04f81856b18237e470d93e3 Mon Sep 17 00:00:00 2001 From: eort Date: Thu, 22 Feb 2018 15:35:09 +0100 Subject: [PATCH 2/2] add Contributor --- .zenodo.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zenodo.json b/.zenodo.json index 1f4af84fc9..9f4777690f 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -605,6 +605,10 @@ "affiliation": "MIT, HMS", "name": "Ghosh, Satrajit", "orcid": "0000-0002-5312-6729" + }, + { + "affiliation": "Vrije Universiteit Amsterdam", + "name": "Ort, Eduard" } ], "keywords": [