From afaf8fc5885a707356e67b04042db98f62af9186 Mon Sep 17 00:00:00 2001 From: ilhamv Date: Tue, 28 May 2024 00:03:28 -0700 Subject: [PATCH] remove manual check in vade regression test --- test/regression/variance_deconv/input.py | 25 ------------------------ 1 file changed, 25 deletions(-) diff --git a/test/regression/variance_deconv/input.py b/test/regression/variance_deconv/input.py index fa3aedc6..f6076948 100644 --- a/test/regression/variance_deconv/input.py +++ b/test/regression/variance_deconv/input.py @@ -33,28 +33,3 @@ mcdc.uq(material=m3, distribution="uniform", capture=np.array([0.5])) mcdc.run() - -# ========================================================================= -# Check output -# ========================================================================= - -output = h5py.File("output.h5", "r") -answer = h5py.File("answer.h5", "r") -for score in scores: - name = "tally/" + score + "/mean" - a = output[name][:] - b = answer[name][:] - assert np.isclose(a, b).all() - - name = "tally/" + score + "/sdev" - a = output[name][:] - b = answer[name][:] - assert np.isclose(a, b).all() - - name = "tally/" + score + "/uq_var" - a = output[name][:] - b = answer[name][:] - assert np.isclose(a, b).all() - -output.close() -answer.close()