Skip to content

Commit

Permalink
Update rdkit etkdgv3 to default use small ring torsion, too
Browse files Browse the repository at this point in the history
  • Loading branch information
jessbade committed Apr 19, 2024
1 parent a30b12b commit a56a713
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion isicle/md.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,12 +600,14 @@ def _configure_etkdg2(self):
"""
self.params = rdDistGeom.ETKDGv2()

def _configure_etkdg3(self):
def _configure_etkdg3(self, variant=True):
"""
Set parameters for ETKDG conformer generation, based on work by Riniker and Landrum.
Version 3: Updated sampling small rings AND macrocycles
"""
self.params = rdDistGeom.ETKDGv3()
if variant is True:
self.params.useSmallRingTorsions = True

def _configure_etkdg3_variant(self):
"""
Expand Down

0 comments on commit a56a713

Please sign in to comment.