ndexbio / ndex2-client

NDEx2 Client
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

NiceCXNetwork.create_node() and create_edge overwrites existing nodes/edges #60

Closed coleslaw481 closed 3 years ago

coleslaw481 commented 5 years ago

If one creates a NiceCXNetwork object via ndex2.create_nice_cx_from_raw_cx, any calls to NiceCXNetwork.create_node() or NiceCXNetwork.create_edge() will overwrite existing nodes and edges. This is because ndex2.nice_cx_builder.NiceCXBuilder does NOT appear to update the counters used in create_node() and create_edge()

coleslaw481 commented 3 years ago

Fixed with 3.3.2 release