Closed AlexanderPico closed 3 years ago
Nope. This commit in response to #41 is the culprit! https://github.com/cytoscape/RCy3/commit/053246a6acdfbf8f0536f2cf00b34b4efc64ee79
Need a solution that preserves order and addresses multigraphs...
Applied solution to both .edgeNameToEdgeSUID and .nodeNameToNodeSUID to handle cases where folks are supplying edge/node name lists that intentionally contain duplicates, i.e., repeated nodes and multigraphs.
The returned set of SUIDs is assumed to be in the same order as the input names. I believe this used to be the case when these methods were first implemented and tested, but perhaps a change in CyREST or Cytoscape responsible.
In any case, this and related functions need to be updated to faithfully return in the assumed order.