diff --git a/Tests/Functional/Core/Std/Check.cpp b/Tests/Functional/Core/Std/Check.cpp index d66137a610fbc0fcd90297aac0c2713457a86c6c..204cf538d0afdf6494596b7e688b84df5317775c 100644 --- a/Tests/Functional/Core/Std/Check.cpp +++ b/Tests/Functional/Core/Std/Check.cpp @@ -59,10 +59,10 @@ bool checkSimulation(const std::string& name, const ISimulation& direct_simulati std::string out_fname = FileSystemUtils::jointPath(BATesting::TestOutDir_Std(), name + ".int.gz"); IntensityDataIOFactory::writeOutputData(*result_data, out_fname); - std::cout << "Notes:\n- to visualize an intensity map, use " << BABuild::buildBinDir() - << "/plot_int.py\n" + std::cout << "Notes:\n- to visualize an intensity map, use " + << "devtools/view/plot_int.py\n" << "- to plot a difference image, use " << BABuild::buildBinDir() - << "/plot_diff_int.py\n" + << "devtools/view/plot_diff_int.py\n" << "- if the new simulation result\n" << out_fname << "\n" << " is correct, then move it to the reference directory\n" diff --git a/cmake/BornAgain/Config.cmake b/cmake/BornAgain/Config.cmake index 072c1cd8660dec1b7f57bc872638afae0f1c0248..bb905cbb5d24f36217b66172c2efe6d1fce9b789 100644 --- a/cmake/BornAgain/Config.cmake +++ b/cmake/BornAgain/Config.cmake @@ -23,11 +23,6 @@ configure_file(${CONFIGURABLES_DIR}/BABuild.h.in ${BUILD_INC_DIR}/BABuild.h @ON configure_file(${CONFIGURABLES_DIR}/BATesting.h.in ${BUILD_INC_DIR}/BATesting.h @ONLY) string(APPEND CMAKE_CXX_FLAGS " -I${BUILD_INC_DIR}") -configure_file(${CMAKE_SOURCE_DIR}/Examples/Python/utils/plot_int.py - ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/plot_int.py COPYONLY) -configure_file(${CMAKE_SOURCE_DIR}/Examples/Python/utils/plot_diff_int.py - ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/plot_diff_int.py COPYONLY) - # ----------------------------------------------------------------------------- # configure BornAgain launch scripts # ----------------------------------------------------------------------------- diff --git a/Examples/Python/utils/plot_diff_int.py b/devtools/view/plot_diff_int.py similarity index 100% rename from Examples/Python/utils/plot_diff_int.py rename to devtools/view/plot_diff_int.py diff --git a/Examples/Python/utils/plot_int.py b/devtools/view/plot_int.py similarity index 100% rename from Examples/Python/utils/plot_int.py rename to devtools/view/plot_int.py diff --git a/Examples/Python/utils/show2d.py b/devtools/view/plot_numpy_array.py similarity index 100% rename from Examples/Python/utils/show2d.py rename to devtools/view/plot_numpy_array.py