Skip to content

Commit

Permalink
Increased the default CREST RMSD threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRobidas committed Apr 23, 2023
1 parent ae79d1c commit 49dca17
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ccinput/packages/xtb.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def handle_specifications(self):
iterations = -1
method = "gfn2-xtb"
opt_level = "tight"
rthr = 0.6
rthr = 2.0
ewin = 6
cmd_arguments = ""

Expand Down
2 changes: 1 addition & 1 deletion ccinput/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ def test_crest_commandline(self):

self.assertTrue(self.is_equivalent(INPUT_REF, objs[0].input_file))
self.assertEqual(
objs[0].command, "crest ethanol.xyz -cinp input -rthr 0.6 -ewin 6"
objs[0].command, "crest ethanol.xyz -cinp input -rthr 2.0 -ewin 6"
)

@patch("ccinput.utilities.warn")
Expand Down
16 changes: 8 additions & 8 deletions ccinput/tests/test_xtb.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def test_conformational_search(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -rthr 2.0 -ewin 6"

self.assertTrue(self.is_equivalent(REF, xtb.command))

Expand Down Expand Up @@ -408,7 +408,7 @@ def test_constrained_conformational_search1(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -cinp input -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -cinp input -rthr 2.0 -ewin 6"
self.assertTrue(self.is_equivalent(REF, xtb.command))

INPUT = """$constrain
Expand All @@ -431,7 +431,7 @@ def test_constrained_conformational_search2(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -cinp input -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -cinp input -rthr 2.0 -ewin 6"
self.assertTrue(self.is_equivalent(REF, xtb.command))

INPUT = """$constrain
Expand All @@ -455,7 +455,7 @@ def test_constrained_conformational_search3(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -cinp input -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -cinp input -rthr 2.0 -ewin 6"
self.assertTrue(self.is_equivalent(REF, xtb.command))

INPUT = """$constrain
Expand All @@ -479,7 +479,7 @@ def test_constrained_conformational_search4(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -cinp input -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -cinp input -rthr 2.0 -ewin 6"
self.assertTrue(self.is_equivalent(REF, xtb.command))

INPUT = """$constrain
Expand All @@ -503,7 +503,7 @@ def test_constrained_conformational_search5(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -cinp input -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -cinp input -rthr 2.0 -ewin 6"
self.assertTrue(self.is_equivalent(REF, xtb.command))

INPUT = """$constrain
Expand All @@ -528,7 +528,7 @@ def test_constrained_conformational_search_named_output(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -cinp inp -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -cinp inp -rthr 2.0 -ewin 6"
self.assertTrue(self.is_equivalent(REF, xtb.command))

INPUT = """$constrain
Expand Down Expand Up @@ -563,7 +563,7 @@ def test_constrained_conformational_search_equals(self):

xtb = self.generate_calculation(**params)

REF = "crest ethanol.xyz -cinp input -rthr 0.6 -ewin 6"
REF = "crest ethanol.xyz -cinp input -rthr 2.0 -ewin 6"
self.assertTrue(self.is_equivalent(REF, xtb.command))

INPUT = """$constrain
Expand Down

0 comments on commit 49dca17

Please sign in to comment.