Skip to content

Commit a0b8dcd

Browse files
committed
update regression tests to include a test for water
1 parent a0a0932 commit a0b8dcd

3 files changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"../../test_data/Liquids_simulation_data/GAFF/water/molecules.top",
5+
"../../test_data/Liquids_simulation_data/GAFF/water/trajectory.crd"
6+
],
7+
"force_file": "../../test_data/Liquids_simulation_data/GAFF/water/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/home/tdo96567/BioSim/temp/water/job008/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "2.0.0",
28+
"git_sha": "cba3d8ea4118e00b25ee5a58d7ba951e4894b5c0"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 79.20298312418278,
34+
"united_atom:Rovibrational": 50.90260688502127,
35+
"united_atom:Conformational": 0.0
36+
},
37+
"total": 130.10559000920404
38+
}
39+
}
40+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
3+
run1:
4+
force_file: ".testdata/water/forces.frc"
5+
top_traj_file:
6+
- ".testdata/water/molecules.top"
7+
- ".testdata/water/trajectory.crd"
8+
selection_string: "all"
9+
start: 0
10+
step: 1
11+
end: 1
12+
file_format: "MDCRD"

tests/regression/test_regression.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def _compare_grouped(
111111
"methane",
112112
"methanol",
113113
pytest.param("octonol", marks=pytest.mark.slow),
114+
"water",
114115
],
115116
)
116117
def test_regression_matches_baseline(

0 commit comments

Comments
 (0)