You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to apply Recycler over my SPAdes graph but I keep getting this error:
Traceback (most recent call last):
File "/usr/local/home/lmt243/anaconda3/pkgs/recycler-0.6.2-py27_0/bin/recycle.py", line 70, in
G.remove_nodes_from(nx.isolates(G))
File "/usr/local/home/lmt243/.local/lib/python2.7/site-packages/networkx-2.1-py2.7.egg/networkx/classes/digraph.py", line 555, in remove_nodes_from
for n in nodes:
File "/usr/local/home/lmt243/.local/lib/python2.7/site-packages/networkx-2.1-py2.7.egg/networkx/algorithms/isolate.py", line 94, in
return (n for n, d in G.degree() if d == 0)
File "/usr/local/home/lmt243/.local/lib/python2.7/site-packages/networkx-2.1-py2.7.egg/networkx/classes/reportviews.py", line 368, in iter
for n in self._nodes:
RuntimeError: dictionary changed size during iteration
I know this error has been reported and closed before, but I have tried the solution described there and I still cannot solve this error (downgrading Python networkX from 2.0 to 1.11)
Recycler and these associated dependencies were installed through conda.
Thanks a lot in advance, if you need more info, please, drop me a line!
Best,
Juanma
UPDATE: Recycler seems to work installing the associated dependencies with conda and cloning the last version from here, as dpellow suggested. I did not updated before because the script is still running,may have got stuck at some point. But the script.py launches with no problem.
The text was updated successfully, but these errors were encountered:
The latest update of Recycler should be compatible with networkx 2.0. Can you clone the latest update and let us know if you are still experiencing this problem?
Good morning Shamir and community,
I am trying to apply Recycler over my SPAdes graph but I keep getting this error:
Traceback (most recent call last):
File "/usr/local/home/lmt243/anaconda3/pkgs/recycler-0.6.2-py27_0/bin/recycle.py", line 70, in
G.remove_nodes_from(nx.isolates(G))
File "/usr/local/home/lmt243/.local/lib/python2.7/site-packages/networkx-2.1-py2.7.egg/networkx/classes/digraph.py", line 555, in remove_nodes_from
for n in nodes:
File "/usr/local/home/lmt243/.local/lib/python2.7/site-packages/networkx-2.1-py2.7.egg/networkx/algorithms/isolate.py", line 94, in
return (n for n, d in G.degree() if d == 0)
File "/usr/local/home/lmt243/.local/lib/python2.7/site-packages/networkx-2.1-py2.7.egg/networkx/classes/reportviews.py", line 368, in iter
for n in self._nodes:
RuntimeError: dictionary changed size during iteration
I know this error has been reported and closed before, but I have tried the solution described there and I still cannot solve this error (downgrading Python networkX from 2.0 to 1.11)
System: Ubuntu Linux
Recycler and these associated dependencies were installed through conda.
Thanks a lot in advance, if you need more info, please, drop me a line!
Best,
Juanma
UPDATE: Recycler seems to work installing the associated dependencies with conda and cloning the last version from here, as dpellow suggested. I did not updated before because the script is still running,may have got stuck at some point. But the script.py launches with no problem.
The text was updated successfully, but these errors were encountered: