- Timestamp:
- 02/01/06 18:04:43 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
r7465 r7471 104 104 no=`printf %08d $sequence | cut -c 0-4` 105 105 no2=`printf %08d $sequence` 106 var1=$no 107 var2=$no2 106 108 sequencepath=$sequpath/$no 107 109 makedir $sequencepath >> $scriptlog 2>&1 … … 112 114 113 115 echo "write sequencefile for sequence $sequence" >> $scriptlog 2>&1 116 setstatus "start" >> $scriptlog 2>&1 117 114 118 check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\,"\"$sequpath\""\) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'` 115 119 case $check2 in 116 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 117 echo "-> inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1 118 statustime="Now()" 119 failed="NULL" 120 starttime="NULL" 121 failedtime="NULL" 122 var1=$no 123 var2=$no2 124 setstatus 125 ;; 120 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;; 126 121 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 122 com="writing of sequencefile for sequence $sequence failed" 123 check=$check2 124 ;; 127 125 esac 126 echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1 127 setstatus "stop" >> $scriptlog 2>&1 128 128 done 129 129
Note:
See TracChangeset
for help on using the changeset viewer.