project-gemmi / gemmi

macromolecular crystallography library and utilities
https://project-gemmi.github.io/
Mozilla Public License 2.0
205 stars 42 forks source link

CID parser syntax error when negative sequence number is present #294

Closed scotthoh closed 5 months ago

scotthoh commented 5 months ago

Hi Marcin, I am replacing mmdb with gemmi for reading structure files in clipper library and came across the CID parser syntax error when dealing with structure files that has negative sequence number. One example is 6zhy.cif where the selection parser came back with syntax error with the CID line "/1/I/-72(DA)". Is there a way to deal with such encounter? Thanks.