ihmwg / python-ihm

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

Support features defined on entities, not asyms #43

Closed benmwebb closed 5 years ago

benmwebb commented 5 years ago

The IHM dictionary now allows for asym_id to be omitted for all of the feature types (ihm_poly_atom_feature, ihm_poly_residue_feature, ihm_non_poly_feature) but python-ihm expects it to be there when reading mmCIF files. For example, @brindakv notes that this breaks reading PDBDEV_00000032. Allow for all features to be defined using Atom or Residue objects derived from Entity, not just AsymUnit.