Index: trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences	(revision 8078)
+++ trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences	(revision 8080)
@@ -56,5 +56,5 @@
 for sequfile in ${sequfiles[@]}
 do 
-   sequno=`echo $sequfile | cut -c 36-43`
+   sequno=`echo $sequfile | cut -c 42-49`
    no=`echo $sequno | cut -c 0-4`
    date=`grep Night $sequfile | cut -c 18-29 | sed -e 's/-/\//g'`
@@ -62,6 +62,6 @@
    makedir $caloutpath >> $scriptlog 2>&1
    
-   # continue with next sequence, if sequence is already processed 
-   #  or processing  of sequence is just running
+   # continue with next sequence if sequence is already processed
+   # or processing of sequence is just running
    if ls $caloutpath/.done >> $scriptlog 2>&1
    then 
@@ -79,5 +79,5 @@
    if [ -e $caloutpath/callisto.rc ]
    then
-      echo "found callisto.rc in $caloutpath -> using this " >> $scriptlog 2>&1
+      echo "found callisto.rc in $caloutpath -> using this" >> $scriptlog 2>&1
       callistorcseq=$caloutpath/callisto.rc
    else
@@ -93,5 +93,5 @@
    case $check1 in
       0)   echo " check1=$check1 -> everything ok..." >> $scriptlog 2>&1
-           printprocesslog "INFO calibrated mc sequende $sequno successfully"
+           printprocesslog "INFO calibrated mc sequence $sequno successfully"
            touch $caloutpath/.done
            rm $caloutpath/.doing
@@ -99,19 +99,20 @@
            makedir $imgoutpath >> $scriptlog 2>&1
            
+           echo "./star -b -q -v4 -f -mc --log=$imgoutpath/star$sequno.log --html=$imgoutpath/star$sequno.html --ind=$caloutpath --out=$imgoutpath $sequfile  2>> $scriptlog> /dev/null" >> $scriptlog 2>&1
            ./star -b -q -v4 -f -mc --log=$imgoutpath/star$sequno.log --html=$imgoutpath/star$sequno.html --ind=$caloutpath --out=$imgoutpath $sequfile  2>> $scriptlog> /dev/null
            check2=$?
            
-           case $check2 in 
+           case $check2 in
               0)   echo " check2=$check2 -> everything ok..." >> $scriptlog 2>&1
-                   printprocesslog "INFO run star successfully for mc sequende $sequno"
+                   printprocesslog "INFO run star successfully for mc sequence $sequno"
                    touch $imgoutpath/.done
                    ;;
               *)   echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
-                   printprocesslog "ERROR star failed for mc sequende $sequno"
+                   printprocesslog "ERROR star failed for mc sequence $sequno"
                    ;;
            esac
     	   ;;
       *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
-           printprocesslog "ERROR callisto failed for mc sequende $sequno"
+           printprocesslog "ERROR callisto failed for mc sequence $sequno"
            ;;
    esac
