mirror of
https://github.com/Electrostatics/apbs-pdb2pqr.git
synced 2026-06-04 14:49:37 +08:00
Remove commented-out code.
Addresses https://github.com/Electrostatics/apbs-pdb2pqr/pull/605#discussion_r446542582 Also fix ugly non-PEP8 code to address https://github.com/Electrostatics/apbs-pdb2pqr/pull/605#discussion_r446543544
This commit is contained in:
@@ -436,11 +436,10 @@ def non_trivial(args, protein, definition, is_cif):
|
||||
protein.remove_hydrogens()
|
||||
pka_df, pka_filename = run_propka(args, protein)
|
||||
|
||||
protein.apply_pka_values(forcefield_.name, args.ph, dict(zip(pka_df.group_label, pka_df.pKa)));
|
||||
protein.apply_pka_values(
|
||||
forcefield_.name, args.ph,
|
||||
dict(zip(pka_df.group_label, pka_df.pKa)))
|
||||
|
||||
# _LOGGER.error("\n" + str(pka_df))
|
||||
# raise NotImplementedError(
|
||||
# "PROPKA not implemented. See %s" % pka_filename)
|
||||
elif args.pka_method == "pdb2pka":
|
||||
_LOGGER.info("Assigning titration states with PDB2PKA.")
|
||||
raise NotImplementedError("PDB2PKA not implemented.")
|
||||
|
||||
Reference in New Issue
Block a user