Ignore:
Timestamp:
08/22/06 15:36:10 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/fillstar

    r7909 r7911  
    2828# for all sequences of which the results are not yet in the database.
    2929#
    30 # After checking, if the script is already running, the todolist is
    31 # written
     30# After checking if the script is already running the todolist is written.
    3231# Then for each sequence in the todo list the star results are filled
    3332# into the table Star in the database using the macro fillstar.C
     
    7978   starfile=$path/star$no2.root
    8079   fillstarlogpath=$logpath/$program/$no
    81    echo "fillstarlogpath: "$fillstarlogpath >> $scriptlog 2>&1
    8280   makedir $fillstarlogpath >> $scriptlog 2>&1
    8381   fillstarlog=$fillstarlogpath/$program-$sequence.log
     
    8886   check2=`root -q -b $macrospath/fillstar.C+\("\"$starfile\""\,kFALSE\) | tee $fillstarlog | grep \(int\) | sed -e 's/.*(int)//'`
    8987   case $check2 in
    90       1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
    91       0)   echo "check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1
     88      1)   echo " check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
     89      0)   echo " check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1
    9290           check="no"
    9391           ;;
    94       *)   echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     92      *)   echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    9593           com=$Ffillstar
    9694           check=$check2
    9795           ;;
    9896   esac
    99    echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1
     97   
    10098   setstatus "stop" >> $scriptlog 2>&1
    10199done
Note: See TracChangeset for help on using the changeset viewer.