ihmwg / python-ihm

Python package for handling IHM mmCIF and BinaryCIF files
MIT License
14 stars 7 forks source link

Allow user to override Entity.is_polymeric() #78

Closed benmwebb closed 2 years ago

benmwebb commented 2 years ago

python-ihm fails to properly handle PDB-Dev entries 8 and 66 as these both contain polymer entities but python-ihm thinks they are nonpolymers (based on the sequence length). Allow the user to override python-ihm's guess, and when reading in an mmCIF file, override using entity.type. Relates salilab/IHMValidation#29.