diff options
Diffstat (limited to 'scripts/wibbletron')
-rwxr-xr-x | scripts/wibbletron | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/wibbletron b/scripts/wibbletron index 035b4a2c..79ba00e9 100755 --- a/scripts/wibbletron +++ b/scripts/wibbletron @@ -5,10 +5,12 @@ for FILENAME in `cat $1`; do echo $FILENAME | indexamajig --indexing=dirax \ --near-bragg \ --filter-noise \ - > indexed.lst + > out.stream + + if [ $? -ne 0 ]; then exit 0; fi + + if [ `stat -c '%s' out.stream` -gt 300 ]; then - if [ -s indexed.lst ]; then - #hdfsee simulated.h5 & ~/crystfel/src/hdfsee $FILENAME --binning=1 \ --int-boost=8 --filter-noise \ --peak-overlay=indexed.lst |