OpenBEL / openbel-framework

An open platform for capturing, integrating, storing, and sharing biological knowledge in and across organizations.
http://openbel.org
Apache License 2.0
22 stars 7 forks source link

complexes and composites with the same components in a different order should be equivalent #58

Closed ncatlett closed 11 years ago

ncatlett commented 11 years ago

The order of complex components should not matter - complexes with identical components in a different order should be collapsed to a single complex node. BEL composite terms should also be treated as an unordered list. complex_test

ncatlett commented 11 years ago

This issue also affects reactant and product lists within BEL reaction terms

abargnesi commented 11 years ago

This bug was addressed previously, but we were not equivalencing terms and statements if there were not any parameter equivalences (i.e. HGNC:AKT1 (eq) EGID:207).

The above fix forces equivalencing (parameter -> term -> statement). This ensures terms with commutative arguments are properly equivalenced. This includes complex, composite, products, reactants, and list.