Skip to content

Issue with GAFFTemplateGenerator.generate_residue_template(residue_atoms=xxx) #379

@ZhaoKe-BIT

Description

@ZhaoKe-BIT

Apologies in advance if the phrasing sounds unusual—this issue is entirely translated by an LLM due to my limited English proficiency.

When using the GAFFTemplateGenerator.generate_residue_template function with the residue_atoms argument, I encountered an issue in line 745 of the code. The logic should iterate over residue_atoms when the argument is provided, and fall back to molecule.atoms when it is not. After implementing this change locally, my code worked as expected, so I believe this adjustment is reasonable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions