easy_lausanne icon indicating copy to clipboard operation
easy_lausanne copied to clipboard

Change of syntax with Network2.0 and upwards

Open wjcottam opened this issue 6 years ago • 0 comments

Hi,

I've been getting the following error after running easy_lausanne

Traceback (most recent call last): File "/usr/bin/easy_lausanne", line 5, in pkg_resources.run_script('Easy-Lausanne==0.5', 'easy_lausanne') File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1462, in run_script exec_(script_code, namespace, namespace) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 41, in exec_ exec("""exec code in globs, locs""") File "", line 1, in File "/usr/lib/python2.7/site-packages/Easy_Lausanne-0.5-py2.7.egg/EGG-INFO/scripts/easy_lausanne", line 86, in

File "build/bdist.linux-x86_64/egg/easy_lausanne/maskcreation.py", line 234, in create_roi AttributeError: 'Graph' object has no attribute 'nodes_iter'

... Which looks like it could be to do with the change from "nodes_iter()" method to "nodes()"

wjcottam avatar Jan 09 '19 11:01 wjcottam