Skip to content
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

ntwulf.visualize does not accept network as a dict #41

Open
ramadap opened this issue Feb 2, 2020 · 5 comments
Open

ntwulf.visualize does not accept network as a dict #41

ramadap opened this issue Feb 2, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ramadap
Copy link

ramadap commented Feb 2, 2020

Although stated in the documentation that the network can be provided as a Dict, it fails with message "Netwulf only supports nx.Graph, nx.DiGraph, and nx.MultiDiGraph".

@ulfaslak
Copy link
Collaborator

ulfaslak commented Feb 2, 2020

Ah! Seems you are right. We will fix this.

@ulfaslak ulfaslak added the bug Something isn't working label Feb 2, 2020
@ghost
Copy link

ghost commented Jun 16, 2020

Hey, I'm also running into this issue. I was wondering when we can expect an update?

@ulfaslak
Copy link
Collaborator

I am overburdened with research obligations right now, but if this troubles you significantly go ahead and make a pull request.

As a guide, the issue is due to lines 271-279 in interactive.py. You just need to rewrite that bit so it handles network being a node-link dictionary.

@ulfaslak ulfaslak reopened this Jun 30, 2020
@benmaier
Copy link
Owner

on it

benmaier added a commit that referenced this issue Jun 30, 2020
@benmaier
Copy link
Owner

should be fixed now in v0.1.5

@benmaier benmaier self-assigned this Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants