Skip to content

Alternate/optional fields for CIF parsing#78

Merged
timholy merged 1 commit intomasterfrom
teh/fix_boltz
Sep 2, 2025
Merged

Alternate/optional fields for CIF parsing#78
timholy merged 1 commit intomasterfrom
teh/fix_boltz

Conversation

@timholy
Copy link
Copy Markdown
Collaborator

@timholy timholy commented Sep 2, 2025

Some modeling tools (e.g., Boltz-2) write CIF files that we can't
currently parse. The CIF standard lists _atom_site.label_atom_id as a
required field, but we use _atom_site.auth_atom_id. This allows both.
It also makes _atom_site.pdbx_formal_charge optional.

Reference:
https://mmcif.wwpdb.org/dictionaries/mmcif_pdbx_v50.dic/Categories/atom_site.html#

Some modeling tools (e.g., Boltz-2) write CIF files that we can't
currently parse. The CIF standard lists `_atom_site.label_atom_id` as a
required field, but we use `_atom_site.auth_atom_id`. This allows both.
It also makes `_atom_site.pdbx_formal_charge` optional.

Reference:
https://mmcif.wwpdb.org/dictionaries/mmcif_pdbx_v50.dic/Categories/atom_site.html#
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.29%. Comparing base (c70cc28) to head (ada747e).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #78   +/-   ##
=======================================
  Coverage   95.29%   95.29%           
=======================================
  Files          14       14           
  Lines        2125     2125           
=======================================
  Hits         2025     2025           
  Misses        100      100           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jgreener64
Copy link
Copy Markdown
Member

Looks good, merge when ready.

@timholy timholy merged commit bbb8354 into master Sep 2, 2025
10 checks passed
@timholy timholy deleted the teh/fix_boltz branch September 2, 2025 16:48
timholy added a commit that referenced this pull request Sep 4, 2025
This is a follow-up to #78, ensuring that all optional fields in the in
the `_atom_site` category are handled correctly. This also adds tests
for files written by two external tools.
timholy added a commit that referenced this pull request Sep 4, 2025
This is a follow-up to #78, ensuring that all optional fields in the in
the `_atom_site` category are handled correctly. This also adds tests
for files written by two external tools.
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