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

refactor polymer.parameterize to run on individual monomer #243

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

diogomart
Copy link
Contributor

Refactored to allow running instances of MoleculePreparation on individual monomers. For example:

mk_prep = MoleculePreparation()
for residue_id, monomer in polymer.monomers.items():
    monomer.prepare(mk_prep, residue_id)

The residue_id is passed to populare the atoms with PDBAtomInfo that stores chain, resnum, icode, etc

@althea-hansel althea-hansel merged commit 2dda4d8 into forlilab:develop Nov 14, 2024
1 check passed
@diogomart diogomart deleted the monomer_parameterize branch November 14, 2024 19:38
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