Ignore:
Timestamp:
05/17/05 16:53:35 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7030 r7051  
    172172for sequence in ${sequences[@]}
    173173do
    174   no=`printf %08d $sequence | cut -c 4`
    175   outpath="/magic/data/callisto/"`printf %04d $no`"/"`printf %08d $sequence`
     174  no=`printf %08d $sequence | cut -c 0-4`
     175  no2=`printf %08d $sequence`
     176  outpath="/magic/data/callisto/$no/$no2"
    176177  echo "outpath: "$outpath >> $scriptlog 2>&1
    177178  if [ ! -d $outpath ]
     
    184185    fi
    185186  fi
    186   sequfile="/magic/sequences/"`printf %04d $no`"/sequence"`printf %08d $sequence`".txt"
     187  sequfile="/magic/sequences/$no/sequence$no2.txt"
    187188  echo "sequfile: "$sequfile >> $scriptlog 2>&1
    188189 
     
    198199
    199200  echo "run callisto..." >> $scriptlog 2>&1
    200   ./callisto -b -q -f -raw --log=$outpath/callisto$sequence.log --out=$outpath --config=$callistorcseq $sequfile  2>> $scriptlog > /dev/null
     201  ./callisto -b -q -f -raw --log=$outpath/callisto$no2.log --out=$outpath --config=$callistorcseq $sequfile  2>> $scriptlog > /dev/null
    201202  check1=$?
    202203
     
    275276         
    276277          echo "inserting the status for callisto for sequence $sequence into the db" >> $scriptlog 2>&1
    277           setstatuslogpath=$logpath/setstatus/callisto/`printf %04d $no`
     278          setstatuslogpath=$logpath/setstatus/callisto/$no
    278279          if [ ! -d $setstatuslogpath ]
    279280          then
     
    285286            fi
    286287          fi
    287           setstatuslog=$setstatuslogpath/setstatus-callisto
    288           check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog-$sequence.log | grep int | sed -e 's/(int)//'`
     288          setstatuslog=$setstatuslogpath/setstatus-callisto-$no2.log
     289          check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    289290          case $check4 in
    290291             1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
Note: See TracChangeset for help on using the changeset viewer.