-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At least some Nipype workflows fail with the dev version of networkx installed! #2159
Comments
@dpisner453 - many thanks for reporting this. i'm assuming networkx had a proper deprecation cycle for this change. @djarecka - could you please take a stab at this? it would be good to make sure that we are compatible with current and future versions. we don't have to support the future of every library, but to the extent we can it would be good. |
@satra - it looks like they removed all |
@dpisner453 - i've updated nipype, and tests are passing. But if you have any specific example that didn't work for you, i can test it too. You can also try to run with my branch |
@satra This is now affecting Travis builds. |
@effigies just rebased my PR, hopefully it works |
well, it doesn't... some tests are failing with py2.7, 3.5 and 3.6 (3.4 is perfectly fine), will try to fix it today |
For some reason 3.4 keeps networkx < 2. That's good news because it means that we are testing backwards compatibility on your PR :) |
we can just try to remember when we get errors only for python 3.4 ;-) |
I also have this error with my script... Could anybody help me to fix it? |
@carolege : are you using the current master? |
I don't really know... I upgrade nipype using pip install... |
@carolege , so you're probably using 0.13, you can always the version with this command: So this problem is related to the new version of |
@carolege you can install our current master through pip with the following command
|
Hi, I am experiencing the same problem and installing the master did not help. Are there other suggestions? |
@SebastianSpeer yes, the fixed version is not yet available on conda - we will hopefully be releasing a new version this coming week |
@SebastianSpeer just to add to @mgxd answer, you will have the same problem when you install the last released version with |
Thank you, it seems to fix this problem but I have now and other error message: _Traceback (most recent call last): Do you know from where it could come from? |
Finally, I successfully fix it. Thanks again!! |
File "/usr/local/lib/python2.7/site-packages/nipype/pipeline/engine/workflows.py", line 586, in run
self._set_needed_outputs(flatgraph)
File "/usr/local/lib/python2.7/site-packages/nipype/pipeline/engine/workflows.py", line 679, in _set_needed_outputs
for edge in graph.out_edges_iter(node):
AttributeError: 'DiGraph' object has no attribute 'out_edges_iter'
The text was updated successfully, but these errors were encountered: