Skip to content

Commit

Permalink
remove unnecessary and statement
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesKarwou committed Jan 30, 2023
1 parent f7cc923 commit 10793e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions transformato/mutate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1605,8 +1605,8 @@ def _mutate_atoms(self, psf: pm.charmm.CharmmPsfFile, lambda_value: float):
# are the atoms different? and assure that only atomtypes in the same residue are compared
if (
ligand1_atom.type != ligand2_atom.type
and len(ligand1_atom.residue.atoms)
== len(ligand2_atom.residue.atoms)
# and len(ligand1_atom.residue.atoms)
# == len(ligand2_atom.residue.atoms)
and ligand1_atom.residue.number == ligand2_atom.residue.number
):
## ATTENTION compare only the same residue with the same NUMBER!
Expand Down
2 changes: 1 addition & 1 deletion transformato/tests/test_point_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_setting_up_point_mutation():

configuration = load_config_yaml(
config=f"/site/raid3/johannes/bioinfo/data/config/cano10-psu10.yaml",
input_dir="/site/raid3/johannes/bioinfo/data/psu",
input_dir="/site/raid3/johannes/bioinfo/data/psul",
output_dir="/site/raid3/johannes/bioinfo/test",
)

Expand Down

0 comments on commit 10793e7

Please sign in to comment.