Skip to content

Commit

Permalink
Merge pull request #258 from stefdoerr/master
Browse files Browse the repository at this point in the history
Fix issue with wrong pkas assigned to terminal residues
  • Loading branch information
sobolevnrm authored Dec 11, 2021
2 parents b5c3c3b + bde74be commit a91216d
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},
{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 a91216d

Please sign in to comment.