Index: trunk/DataCheck/QuickLook/Step2a.sh
===================================================================
--- trunk/DataCheck/QuickLook/Step2a.sh	(revision 18683)
+++ trunk/DataCheck/QuickLook/Step2a.sh	(revision 18684)
@@ -3,6 +3,4 @@
 source `dirname $0`/../Sourcefile.sh
 printprocesslog "INFO starting $0"
-
-echo $certaindate
 
 # get dates
@@ -22,5 +20,4 @@
 fi
 
-echo ${dates[@]}
 
 
@@ -28,5 +25,8 @@
 do 
    printprocesslog "INFO processing "$date
-   echo "INFO processing "$date
+   if [ "$certaindate" != "" ]
+   then
+      echo "INFO processing "$date
+   fi
    night=`echo $date | sed -e 's/\///g'`
    
@@ -46,4 +46,5 @@
       run=`basename $file | cut -d_ -f2`
       printprocesslog "INFO processing run "$run
+      #echo "INFO processing run "$run
       # process only if merpp-log is available to make sure that star-file is complete
       # at ISDC seq# != run# -> get seq#
@@ -71,9 +72,12 @@
          then
             printprocesslog "$sgepath/qsub -b y -q fact_short -v AUTOMATIONSETUP=$AUTOMATIONSETUP -v starfile=$file -e bla.txt -o bla.txt `dirname $0`/RunGanymed.sh"
-            $sgepath/qsub -b y -q fact_short -v AUTOMATIONSETUP=$AUTOMATIONSETUP -v starfile=$file -e bla.txt -o bla.txt `dirname $0`/RunGanymed.sh
+            $sgepath/qsub -b y -q fact_short -v AUTOMATIONSETUP=$AUTOMATIONSETUP -v starfile=$file -e bla.txt -o bla.txt `dirname $0`/RunGanymed.sh | grep -v 'has been submitted'
          else
             printprocesslog " INFO `dirname $0`/RunGanymed.sh $file"
             `dirname $0`/RunGanymed.sh $file
-            echo "ganymed for "$file
+           if [ "$certaindate" != "" ]
+           then
+               echo "ganymed for "$file
+           fi
          fi
          numganymeds=`echo " $numganymeds + 1 " | bc -l`
