Skip to content

Commit

Permalink
better check. previous caused issues with ASP residues
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdoerr committed Dec 1, 2021
1 parent cd959ce commit bde74be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdb2pqr/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def non_trivial(args, biomolecule, ligand, definition, is_cif):
biomolecule.apply_pka_values(
forcefield_.name,
args.ph,
{f"{row['res_name']} {row['res_num']} {row['chain_id']}": row["pKa"] for row in pka_df if row["res_name"] == row["group_type"]},
{f"{row['res_name']} {row['res_num']} {row['chain_id']}": row["pKa"] for row in pka_df if row["group_label"].startswith(row["res_name"])},
)

_LOGGER.info("Adding hydrogens to biomolecule.")
Expand Down

0 comments on commit bde74be

Please sign in to comment.