Changeset 7911 for trunk/MagicSoft/Mars/datacenter/scripts/fillstar
- Timestamp:
- 08/22/06 15:36:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7909 r7911 28 28 # for all sequences of which the results are not yet in the database. 29 29 # 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. 32 31 # Then for each sequence in the todo list the star results are filled 33 32 # into the table Star in the database using the macro fillstar.C … … 79 78 starfile=$path/star$no2.root 80 79 fillstarlogpath=$logpath/$program/$no 81 echo "fillstarlogpath: "$fillstarlogpath >> $scriptlog 2>&182 80 makedir $fillstarlogpath >> $scriptlog 2>&1 83 81 fillstarlog=$fillstarlogpath/$program-$sequence.log … … 88 86 check2=`root -q -b $macrospath/fillstar.C+\("\"$starfile\""\,kFALSE\) | tee $fillstarlog | grep \(int\) | sed -e 's/.*(int)//'` 89 87 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>&188 1) echo " check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;; 89 0) echo " check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1 92 90 check="no" 93 91 ;; 94 *) echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&192 *) echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 95 93 com=$Ffillstar 96 94 check=$check2 97 95 ;; 98 96 esac 99 echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&197 100 98 setstatus "stop" >> $scriptlog 2>&1 101 99 done
Note:
See TracChangeset
for help on using the changeset viewer.