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

Do not use "bad" box info from PDB files #1068

Merged
merged 5 commits into from
Mar 7, 2024

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Mar 6, 2024

Version 6.24.0.

Some PDBs (like 1FHK) contain CRYST1 records where the unit cell lengths are all 1.0 Angstrom; this should be ignored (it even says so right in the PDB itself):

REMARK 215 NMR DATA.  PROTEIN DATA BANK CONVENTIONS REQUIRE THAT         
REMARK 215 CRYST1 AND SCALE RECORDS BE INCLUDED, BUT THE VALUES ON      
REMARK 215 THESE RECORDS ARE MEANINGLESS.

This PR changes cpptraj's behavior so that when this "bad" unit cell info is encountered it is ignored, which prevents bad imaging from taking place. As a result cpptraj will no longer print the bad CRYST1 records.

this is bad box info and disable the box to prevent imaging artifacts.
info, i.e. CRYST1 records where unit cell lengths are all 1 angstrom.
@drroe drroe self-assigned this Mar 6, 2024
@drroe
Copy link
Contributor Author

drroe commented Mar 6, 2024

GRRRR why is it that when there is an error in the CI framework it's almost always PYTHON-related and unrelated to any code changes. I hates it precious...😒

@drroe
Copy link
Contributor Author

drroe commented Mar 7, 2024

Jenkins doesn't seem to be running, or the pipeline isn't launching for some reason.

@drroe
Copy link
Contributor Author

drroe commented Mar 7, 2024

I've confirmed (locally) this works with OneAPI 2022.2 so I think it's good to merge.

@drroe drroe merged commit 0793fd5 into Amber-MD:master Mar 7, 2024
12 of 13 checks passed
@drroe drroe deleted the fix.pdb.bad.box branch March 7, 2024 15:49
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.

1 participant