From 018196f3cfa6b751c9850db8244140c1f5863f5a Mon Sep 17 00:00:00 2001 From: Kris Thielemans Date: Tue, 13 Feb 2024 23:10:21 +0000 Subject: [PATCH] DEBUG recon_test_pack --- .github/workflows/build-test.yml | 4 ++-- recon_test_pack/simulate_data.sh | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index b7a64ab34a..55d7e314c5 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -358,7 +358,7 @@ jobs: EXCLUDE="-E ${EXCLUDE}" fi # execute tests - ctest --output-on-failure -C ${BUILD_TYPE} ${EXCLUDE} + #KT ctest --output-on-failure -C ${BUILD_TYPE} ${EXCLUDE} - name: recon_test_pack shell: bash @@ -373,7 +373,7 @@ jobs: # don't run all of them in Debug mode as it takes too long if test ${BUILD_TYPE} != Debug; then ./run_test_simulate_and_recon.sh - ./run_test_listmode_recon.sh + sh -vx ./run_test_listmode_recon.sh ./run_test_simulate_and_recon_with_motion.sh ./run_scatter_tests.sh ./run_test_zoom_image.sh diff --git a/recon_test_pack/simulate_data.sh b/recon_test_pack/simulate_data.sh index d8ed162eba..ed08bc2146 100755 --- a/recon_test_pack/simulate_data.sh +++ b/recon_test_pack/simulate_data.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/sh -vx # A script to do a simplistic analytic simulation, as used by test_simulate_and_recon.sh # # Copyright (C) 2011 - 2011-01-14, Hammersmith Imanet Ltd @@ -71,7 +71,8 @@ echo "=== create additive sinogram for reconstruction" # need to use correct_projdata as in TOF, ACF/norm is non-TOF, so stir_math will fail INPUT=my_randoms${suffix}.hs OUTPUT=my_additive_sinogram${suffix}.hs \ MULT=my_acfs${suffix}.hs \ - correct_projdata correct_projdata_norm_only.par > my_create_additive_sino${suffix}.log 2>&1 + correct_projdata correct_projdata_norm_only.par +#KT > my_create_additive_sino${suffix}.log 2>&1 if [ $? -ne 0 ]; then echo "ERROR running correct_projdata. Check my_create_additive_sino${suffix}.log"; exit 1; fi