salilab / pmi

Python Modeling Interface
https://integrativemodeling.org/nightly/doc/ref/namespaceIMP_1_1pmi.html
11 stars 11 forks source link

Remove use of get_is_canonical() #260

Closed benmwebb closed 10 months ago

benmwebb commented 10 months ago

IMP.pmi.get_is_canonical() checks to see if a hierarchy is a "PMI" hierarchy. It does this by checking the name of the top-level node. This is unreliable since the name is designed to be human-readable and can be changed by the user. We should just remove this function or use another mechanism.