Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to mmcif parsing #1634

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Fixes to mmcif parsing #1634

merged 1 commit into from
Jan 17, 2023

Conversation

odcambc
Copy link
Contributor

@odcambc odcambc commented Jan 14, 2023

The mmCIF parser was failing to handle the CIF files that pymol was exporting. This tweaks the parser to account for those cases.

  1. The doneAtomBlock loop now checks if the atom block continues to the concluding line of the file.
  2. The parser now checks whether either 'auth_atom_id' or 'label_atom_id' are present
  3. Same, but with 'auth_comp_id' and 'label_comp_id
  4. Also with 'auth_seq_id' and 'label_seq_id'

@jamesmkrieger
Copy link
Contributor

Thanks very much!

@jamesmkrieger jamesmkrieger merged commit 8030632 into prody:master Jan 17, 2023
@odcambc odcambc deleted the mmcif_fix branch January 18, 2023 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants