Closed iainwp closed 12 years ago
Eeek. I've started on some automated tests, these will hopefully catch this sort of error in future. I was trying to add support for the node/edge defaults (which currently are ignored), but waiting on https://networkx.lanl.gov/trac/ticket/683
I get
INFO Loading Traceback (most recent call last): File "/usr/local/bin/autonetkit", line 8, in
load_entry_point('AutoNetkit==0.6.0dev-20120203', 'console_scripts', 'autonetkit')()
File "/Library/Python/2.7/site-packages/AutoNetkit/console_script.py", line 74, in main
inet.load(f_name)
File "/Library/Python/2.7/site-packages/AutoNetkit/internet.py", line 139, in load
self.network.graph = ank.load_graphml(filename)
File "/Library/Python/2.7/site-packages/AutoNetkit/readwrite/graphml.py", line 92, in load_graphml
for key, val in input_graph.graph["edge_default"].items():
KeyError: 'edge_default'
when running the latest download on the gr-eg.grapml in ankpol/examples/gr in the svn.
when this is fixed I'll look at issue 199.
Sorry
Iain