Skip to content

Commit ccec71a

Browse files
committed
Alignment of ligand problem fixed
1 parent 78916ee commit ccec71a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

prepmd/ligand.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ def split_pdb_ligand(pdb_path, new_pdb_output=None, neutralise_radicals=True):
184184
# i have to pass this stupid atommap rdMolAlign otherwise it won't
185185
# align the molecules because there's 'no substructure match' despite
186186
# them being literally the SAME MOLECULE
187-
# rmsd = Chem.rdMolAlign.AlignMol(mol, original_mol, atomMap=atommap)
188-
# print("rmsd: "+str(rmsd))
187+
rmsd = Chem.rdMolAlign.AlignMol(mol, original_mol, atomMap=atommap)
188+
#print("rmsd: "+str(rmsd))
189189

190190
Chem.AllChem.MMFFOptimizeMolecule(mol)
191191
Chem.AllChem.UFFOptimizeMolecule(mol)

0 commit comments

Comments
 (0)