From 858f11978d44192a0d3d2ed8d2f5c469542e867d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 31 Oct 2010 15:52:49 +0100 Subject: Update scripts/wibbletron --- scripts/wibbletron | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts/wibbletron') 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 -- cgit v1.2.3