-
Notifications
You must be signed in to change notification settings - Fork 46
adding support for HETATM in caprieval #1279
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
base: main
Are you sure you want to change the base?
Conversation
@@ -445,6 +445,7 @@ def load_coords( | |||
numbering_dic=None, | |||
model2ref_chain_dict=None, | |||
add_resname=None, | |||
extract_hetatm: bool = False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit a confusing naming. Does it mean extracting from the PDB and thus not using it?
keep_hetatm could be a clearer parameter...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This of course affects all other changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And do we want the default to be false?
try: | ||
mod_coord_dic, _ = load_coords( | ||
self.model, | ||
self.atoms, | ||
numbering_dic=self.model2ref_numbering, | ||
model2ref_chain_dict=self.model2ref_chain_dict, | ||
extract_hetatm=self.keep_hetatm, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you thus use keep_hetatm, which seems the more logical naming.
Checklist
CHANGELOG.md
is updated to incorporate new changesSummary of the Pull Request
Adding support to use HETATM from reference file in caprieval module.
This is performed by using an additional parameter:
keep_hetatm
(default false) in the module allowing to keep HETATM from the input reference file.Related Issue
Closes #1271