We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I have noticed one problem with load_graphml. data['one_way'] is always True in the loaded graph.
The error comes from line 218 from save_load.py
data['oneway'] = bool(data['oneway'])
should be replaced with
data['oneway'] = ast.literal_eval(data['oneway'])
because non-empty strings are always True in python.
The text was updated successfully, but these errors were encountered:
c629224
Thanks!
Sorry, something went wrong.
fixes #42
76cdea6
No branches or pull requests
Hi,
I have noticed one problem with load_graphml.
data['one_way'] is always True in the loaded graph.
The error comes from line 218 from save_load.py
should be replaced with
because non-empty strings are always True in python.
The text was updated successfully, but these errors were encountered: