ihmwg / python-ihm

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

Allow "-" in datablock identifiers #68

Closed bienchen closed 2 years ago

bienchen commented 2 years ago

When initialising a system with an ID that contains a hyphen, the hyphen gets removed in the datablock identifier in the mmCIF file. "FOO-BAR" becomes "FOOBAR" in "data_FOOBAR". Since ModelArchive uses "-" in already published models, the expectation would be to get "data_FOO-BAR" on System(id="FOO-BAR").

bienchen commented 2 years ago

Thanks @benmwebb ! Just tested it, works like MA uses it.