Skip to content

setup test error (networkx): TypeError: add_node() takes 2 positional arguments but 3 were given #29

@victoriastuart

Description

@victoriastuart

...
nx_graph = nx.Graph()

    for node in G.node_iterator():
      nx_graph.add_node(node, G.get_node_attributes(node))

E TypeError: add_node() takes 2 positional arguments but 3 were given

halp/utilities/undirected_graph_transformations.py:71: TypeError

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions