Skip to content

Commit

Permalink
DEBUG recon_test_pack
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisThielemans committed Feb 13, 2024
1 parent 7cfdadf commit 018196f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions recon_test_pack/simulate_data.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 018196f

Please sign in to comment.