diff options
Diffstat (limited to 'tests/roof-sim.sh')
-rwxr-xr-x | tests/roof-sim.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/roof-sim.sh b/tests/roof-sim.sh new file mode 100755 index 0000000..4374221 --- /dev/null +++ b/tests/roof-sim.sh @@ -0,0 +1,14 @@ +#! /bin/bash + +. config.sh + +#cat roof.yaml | yq r - -j | jq '' | sed -r '/\[$/ {:a;N;s/\]/&/;Ta;s/\n +//g;s/,(.)/, \1/}' > roof.json +cat roof.yaml | python3 yaml2json.py | sed -r '/\[$/ {:a;N;s/\]/&/;Ta;s/\n +//g;s/,(.)/, \1/}' > roof.json + +LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib$arch" GI_TYPELIB_PATH="/usr/local/lib$arch/girepository-1.0/" \ + python3 roof.py -c roof.json -o "/home/csa/roof2_data/test_data.sino/sino-%03i.tif" -n 1 "$@" +# python3 roof.py -c roof.json -o "/home/csa/roof2_data/test_data.sino/sino-%03i.raw" -n 1 "$@" + +# python3 roof.py -c roof.json -o "/home/csa/roof2_data/test_data.sino/sino%i.tif" -n 1 "$@" + +# python3 roof.py -c roof.json "$@" |