add_protonation_variants
- openff.pablo.ccd.patches.add_protonation_variants(res: ResidueDefinition) list[ResidueDefinition][source]
Add protonation variants from the ACIDIC_PROTONS and BASIC_ATOMS constants.
Note that all combinations of protonations and deprotonations are generated; this means a residue with
nabstractable hydrogens andmacidic atoms will have2**(n+m)variants.