ihmwg / python-ihm

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

Allow passing Residue objects to ResidueFeature #46

Closed benmwebb closed 4 years ago

benmwebb commented 4 years ago

ResidueFeature expects as input a list of residue ranges and will give a cryptic error if given one or more Residue objects instead. Accept Residue and treat them like 1-residue ranges.