Skip to content

Commit

Permalink
Merge branch 'better-cp2k-kill' of github.com:exalearn/ExaMol into be…
Browse files Browse the repository at this point in the history
…tter-cp2k-kill
  • Loading branch information
WardLT committed Dec 28, 2023
2 parents bd360f6 + 42436db commit ba37ec3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examol/store/recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def suggest_computations(self, record: MoleculeRecord) -> list[SimulationRequest
# Determine if the geometry has been computed
matching_conformers = [
(x.get_energy(geometry.config_name, geometry.charge, solvent=None), x) for x in record.conformers
if x.source == 'relaxation' and x.config_name == geometry.config_name and x.charge == geometry.charge
if x.config_name == geometry.config_name and x.charge == geometry.charge
]
if len(matching_conformers) > 0:
_, conformer = min(matching_conformers)
Expand Down
4 changes: 2 additions & 2 deletions examples/redoxmers/run/report.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Run Report
Report time: 2023-10-18 17:38:06.910593
Report time: 2023-11-30 14:02:53.333870

## Task Summary
Measures how many tasks have run as part of the application

| Task Type | Count | Node Hours | Failures |
|-------------|---------|--------------|------------|
| simulation | 2 | 0.00041 | 0 (0.0%) |
| simulation | 2 | 0.0017 | 0 (0.0%) |

## Outcomes over Time
The property of the molecules over time.
Expand Down
8 changes: 8 additions & 0 deletions tests/simulation/test_ase.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

try:
import xtb # noqa: F401

has_xtb = True
except ImportError:
has_xtb = False
Expand All @@ -31,7 +32,14 @@
cp2k_configs_to_test = ['cp2k_b3lyp_svp', 'cp2k_blyp_szv', 'cp2k_wb97x_d3_tzvpd']


class FakeShell:

def __del__(self):
return


class FakeCP2K(LennardJones):
_shell = FakeShell()

def __init__(self, *args, **kwargs):
super().__init__()
Expand Down

0 comments on commit ba37ec3

Please sign in to comment.