New issue

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

Networkx not ingesting gexf. #68

Closed
greebie opened this Issue Feb 20, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@greebie
Copy link
Collaborator

greebie commented Feb 20, 2019

Describe the bug

import networkx as nx
graph = nx.read_gexf(auk_gephi, version="1.2draft")

Produces:
image

Expected behavior
read_gexf ingests graph as required.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop/Laptop (please complete the following information):

  • OS: [e.g. MacOS 10.13.3]

Additional context
This could very well be a networkx problem as the same graphs work in Gephi. It may also be resolved with archivesunleashed/aut#289 as this could be related to hash collisions.

@greebie

This comment has been minimized.

Copy link
Collaborator Author

greebie commented Feb 21, 2019

I have fixed a gexf by removing graph-level attributes from the graph. This is apparently not supported in gexf.

@ianmilligan1

This comment has been minimized.

Copy link
Member

ianmilligan1 commented Feb 21, 2019

Sounds good - and this doesn't have any impact on Gephi ingesting the file?

@greebie

This comment has been minimized.

Copy link
Collaborator Author

greebie commented Feb 21, 2019

Correct. This problem applied only to networkx so far.

@ruebot

This comment has been minimized.

Copy link
Member

ruebot commented Feb 22, 2019

Resolved with ddbb38a

@ruebot ruebot closed this Feb 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment