ihmwg / python-ihm

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

Warn on output, don't fail, if one or more empty Entities are present #128

Closed benmwebb closed 6 months ago

benmwebb commented 6 months ago

Currently if two or more entities are identical, dumper errors out. Multiple empty entities (no chemical components) will also compare equal and will trigger this exception. We should warn about empty entities instead (and allow for duplicates) so the user can address the problem.