ihmwg / python-ihm

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

Allow for float ihm_external_files.file_size_bytes #138

Closed benmwebb closed 1 month ago

benmwebb commented 1 month ago

We currently assume that ihm_external_files.file_size_bytes is an integer, but the dictionary defines it as a float, and some mmCIF inputs actually contain floating point values, causing the reader to crash. Allow for either ints or floats here.