ihmwg / python-ihm

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

Should verify seq_ids in spheres/atoms against representation & assembly #19

Closed benmwebb closed 5 years ago

benmwebb commented 6 years ago

Currently the lists of Atom and Sphere objects for a model are output as-is. No checking is done to ensure that these objects only reference seq_ids that are in the model's Representation (which in turn should match those in the Assembly). This should be checked to avoid generating invalid mmCIF output.