From 5b2aae3b05b29fa9650a51fd54d47395d7e56b6c Mon Sep 17 00:00:00 2001 From: guillaume Date: Fri, 14 Jul 2017 17:17:42 -0400 Subject: [PATCH] debugging test --- tests/test_surface_tally/inputs_true.dat | 2 +- tests/test_surface_tally/results_true.dat | 10 ++-------- tests/test_surface_tally/test_surface_tally.py | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/tests/test_surface_tally/inputs_true.dat b/tests/test_surface_tally/inputs_true.dat index 28c216075e..213097e8d3 100644 --- a/tests/test_surface_tally/inputs_true.dat +++ b/tests/test_surface_tally/inputs_true.dat @@ -99,7 +99,7 @@ current - 10011 10000 10001 10002 + 10011 10000 current diff --git a/tests/test_surface_tally/results_true.dat b/tests/test_surface_tally/results_true.dat index 41e5484756..df8c1597f4 100644 --- a/tests/test_surface_tally/results_true.dat +++ b/tests/test_surface_tally/results_true.dat @@ -47,11 +47,5 @@ d_material,d_nuclide,d_variable,score,mean,std. dev. ,,,current,-4.2000000e-03,7.1180522e-04 ,,,current,0.0000000e+00,0.0000000e+00 ,,,current,-3.9000000e-02,4.1686662e-03 -,,,current,0.0000000e+00,0.0000000e+00 -,,,current,-4.0200000e-02,4.2656249e-03 -,,,current,0.0000000e+00,0.0000000e+00 -,,,current,-2.6310000e-01,1.0013824e-02 -,,,current,0.0000000e+00,0.0000000e+00 -,,,current,-2.6000000e-03,4.0000000e-04 -,,,current,0.0000000e+00,0.0000000e+00 -,,,current,-2.6700000e-02,5.2218558e-03 +,,,current,-5.9230000e-01,1.2109730e-02 +,,,current,-5.1900000e-02,3.3381632e-03 diff --git a/tests/test_surface_tally/test_surface_tally.py b/tests/test_surface_tally/test_surface_tally.py index caa0737c5b..cafdd84e23 100644 --- a/tests/test_surface_tally/test_surface_tally.py +++ b/tests/test_surface_tally/test_surface_tally.py @@ -135,7 +135,7 @@ class CreateSurfaceTallyTestHarness(PyAPITestHarness): # Surface filter on right surface, reflective, current tally doesnt pick up the zero net current though surface_filter = openmc.SurfaceFilter([3]) surf_tally3 = openmc.Tally(tally_id=tally_index, name='net_right') - surf_tally3.filters = [surface_filter, energy_filterr] + surf_tally3.filters = [surface_filter, energy_filter] surf_tally3.scores = ['current'] tallies_file.append(surf_tally3) tally_index += 1