Skip to content
Snippets Groups Projects
Commit a50f7e46 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

corr

parent aac3eeb5
No related branches found
No related tags found
1 merge request!773new mechanism to steer simulation size in examples and tests, based on command-line argument sim_n
......@@ -80,7 +80,6 @@ if __name__ == '__main__':
histogram = result.histogram2d()
bp.plot_histogram(histogram)
peaks = ba.FindPeaks(histogram, 2, "nomarkov", 0.001)
xpeaks = [peak[0] for peak in peaks]
ypeaks = [peak[1] for peak in peaks]
......
......@@ -48,6 +48,7 @@ function(test_equality example reference tolerance)
add_test(NAME ${test_name}
COMMAND ${CMAKE_COMMAND} -E env "PYTHONPATH=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
"BA_EXAMPLE_DATA_DIR=${EXAMPLES_DIR}/data"
"NOSHOW=ON"
${Python3_EXECUTABLE} -B ${CMAKE_CURRENT_SOURCE_DIR}/RunPersistenceTest.py
${script_path} ${reference}
${TEST_REFERENCE_DIR_EXAMPLES_MINI} ${TEST_OUTPUT_DIR_PY_PERSIST} 11 ${tolerance})
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment