ihmwg / python-ihm

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

Allow for missing _ihm_derived_distance_restraint.restraint_type #87

Closed benmwebb closed 2 years ago

benmwebb commented 2 years ago

While _ihm_derived_distance_restraint.restraint_type is mandatory it can still be . (or a non-conforming mmCIF file can be fed to python-ihm). The reader should do something sensible in this case - perhaps just instantiate the base class. Relates salilab/IHMValidation#57.