Skip to content

Commit 1a8dc0a

Browse files
committed
Patch from Torsten Sachse to re-enable minimizing rmsd and minenergy.
Conformer searches that perform a geometry optimization before calculating the energy or RMSD to eliminate minor clashes.
1 parent e313363 commit 1a8dc0a

File tree

3 files changed

+399
-398
lines changed

3 files changed

+399
-398
lines changed

include/openbabel/conformersearch.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ namespace OpenBabel {
113113
{
114114
public:
115115
OBStericConformerFilter ();
116-
OBStericConformerFilter (double cutoff, double vdw_factor = 0.6, bool check_hydrogens = true);
116+
OBStericConformerFilter (double cutoff, double vdw_factor = 0.5, bool check_hydrogens = true);
117117
bool IsGood(const OBMol &mol, const RotorKey &key, double *coords);
118118
private:
119119
double m_cutoff; //!< Internal cutoff (used as a squared distance)
@@ -246,8 +246,8 @@ namespace OpenBabel {
246246
class OBAPI OBMinimizingRMSDConformerScore : public OBConformerScore
247247
{
248248
public:
249-
Preferred GetPreferred() { return LowScore; }
250-
Convergence GetConvergence() { return Lowest; }
249+
Preferred GetPreferred() { return HighScore; }
250+
Convergence GetConvergence() { return Average; }
251251
double Score(OBMol &mol, unsigned int index, const RotorKeys &keys,
252252
const std::vector<double*> &conformers);
253253
};

0 commit comments

Comments
 (0)