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"] +} 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))