Skip to content

Commit ff28a19

Browse files
committed
change test that did not make sense
1 parent b318fae commit ff28a19

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/gpumd/active/dump_observer_average/run.in renamed to tests/gpumd/active/dump_observer_no_observer/run.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ ensemble nvt_ber 100 100 100
1111
dump_thermo 100
1212
dump_position 50000
1313
active 1 1 1 0.0
14-
dump_observer average 1 1 1 1
1514
run 100

tests/gpumd/active/test_active.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def test_active_no_velocities_or_forces(tmp_path):
292292
assert np.allclose(0, av, atol=atol, rtol=rtol)
293293

294294
def test_active_dump_observer_average(tmp_path_factory):
295-
"""Active learning should not be affected by dump_observer running in average mode"""
295+
"""Active learning should not be affected by dump_observer running in observe mode"""
296296
# First run with no_threshold to get expected uncertainties etc.
297297
test_folder = 'no_threshold/'
298298
files = [
@@ -310,7 +310,7 @@ def test_active_dump_observer_average(tmp_path_factory):
310310
run('/home/elindgren/repos/GPUMD/src/gpumd', cwd=tmp_path, check=True)
311311
expected_uncertainties, _, _, _ = _load_active_files(tmp_path)
312312

313-
test_folder = 'dump_observer_average/'
313+
test_folder = 'dump_observer_no_observer/'
314314
files = [
315315
'model/nep_full.txt',
316316
'model/nep_split1.txt',

0 commit comments

Comments
 (0)