Skip to content

Corruption of _nodes property of Interface #18

Description

@Goose66

Initially (i.e., after final config), poly._nodes is a dictionary containing items comprising <node_addr> : <node_data_dict> for each node that is read from the database. When we call addNode, the interface adds the node object to both nodes_internal and _nodes dictionaries. After adding at least one node, poly._nodes becomes "corrupt" in that it contains some items <node_addr> : <node_data_dict> and some items <node_addr> : <node_object>. If you are iterating through poly._nodes mutliple times (e.g., during initial recreation of nodes while retaining node hierarchy), then the second time through you may get failures because of the corruption of the _nodes dictionary.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions