sk2/autonetkit — Issue #168: Unable to load edited graphml files from the zoo
Author: sk2
Created: 2012-01-20 03:48:22+00:00
State: open

```
sk:ank sk2$ python -mAutoNetkit.console_script -f ~/Downloads/Globenet.graphml
INFO Loading
INFO Compiling
INFO Saving
```

after loading and saving

```
sk:ank sk2$ python -mAutoNetkit.console_script -f ~/Downloads/Globenet2.graphml
INFO Loading
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/sk2/Dropbox/PhD/Dev/ank/AutoNetkit/console_script.py", line 98, in
main()
File "/Users/sk2/Dropbox/PhD/Dev/ank/AutoNetkit/console_script.py", line 74, in main
inet.load(f_name)
File "AutoNetkit/internet.py", line 139, in load
self.network.graph = ank.load_graphml(filename)
File "AutoNetkit/readwrite/graphml.py", line 44, in load_graphml
input_graph = nx.read_graphml(net_file)
File "", line 2, in read_graphml
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/networkx-1.6-py2.7.egg/networkx/utils/decorators.py", line 196, in _open_file
result = func(*new_args,**kwargs)
TypeError: read_graphml() takes at most 2 arguments (3 given)
```