From 0557bc9c04fc4cd9d42864c6722e10a06541c744 Mon Sep 17 00:00:00 2001 From: Satrajit Ghosh Date: Tue, 12 Nov 2019 15:32:26 -0500 Subject: [PATCH 1/2] fix: restore checking traits or bunch --- nipype/pipeline/engine/nodes.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nipype/pipeline/engine/nodes.py b/nipype/pipeline/engine/nodes.py index eeb47f6d7a..df133ec8d4 100644 --- a/nipype/pipeline/engine/nodes.py +++ b/nipype/pipeline/engine/nodes.py @@ -551,7 +551,12 @@ def _get_inputs(self): output_value = evaluate_connect_function( conn[1], conn[2], value) else: - output_value = getattr(outputs, conn) + output_name = conn + try: + output_value = outputs.trait_get()[output_name] + except AttributeError: + output_value = outputs.dictcopy()[output_name] + logger.debug("output: %s", output_name) try: self.set_input(key, deepcopy(output_value)) From 76e96fcf5737b59696767a4f5129efe3868cb64a Mon Sep 17 00:00:00 2001 From: Satrajit Ghosh Date: Tue, 12 Nov 2019 15:38:21 -0500 Subject: [PATCH 2/2] doc: add 1.3.0 to bad version --- .et | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.et b/.et index 96ed9287ea..d271a1d060 100644 --- a/.et +++ b/.et @@ -1,3 +1,4 @@ { "bad_versions" : [ "1.2.1", - "1.2.3"] -} \ No newline at end of file + "1.2.3", + "1.3.0"] +}