Closed
Description
Hi,
Today I ran into an error on the master
branch and went to check the code.
I saw that the yield
variables in:
https://github.com/nipy/nipype/blob/master/nipype/pipeline/engine/nodes.py#L1154
don't make sense.
The thing is that err
will be None always, if the exception is raised and then err
has a value the function will raise that exception instead of yield
-ing the values.
I am putting this issue here because I don't know what is the objective of this function. I guess that the code inside the exception needs an 'else: pass' and maybe a finally
statement.
Metadata
Metadata
Assignees
Labels
No labels