NCATSTranslator / OperationsAndWorkflows

A repo for the nascent "operations and workflow" language
0 stars 5 forks source link

Filter kgraph top n #31

Closed finnagin closed 3 years ago

dkoslicki commented 3 years ago

Need to check if (n1)--(n2)--(n3) with both edges having the same attributes, how is the filtering handled?

finnagin commented 3 years ago

TODO: Keep filtering as union. Add an edge key parameter.

finnagin commented 3 years ago

TODO: change the parameters remove_conected_nodes and qnode_key to a list of qnode_keys to remove and if empty don't remove anything.

finnagin commented 3 years ago

TODO: add comment in qnode_keys description saying that it "Allows us to know what to do with the nodes connected to edges that are removed"