Ignore:
Timestamp:
07/30/08 16:31:01 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9047 r9054  
    5050
    5151# get todo list
    52 getdolist  >> $scriptlog 2>&1
    53 
    54 # get sequences from todo file
    55 sequences=(`cat $todofile`)
    56 if [ "$sequences" = "" ]
    57 then
    58    echo "nothing to do -> exit"  >> $scriptlog 2>&1
    59    finish >> $scriptlog 2>&1
    60 fi
    61 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
    62 rm -v $todofile >> $scriptlog 2>&1
     52gettodo  >> $scriptlog 2>&1
    6353
    6454cd $mars
    6555
    66 # write sequence file for all sequences in todo file
    67 for sequence in ${sequences[@]}
    68 do
     56# write sequence file for all sequences which don't have one yet
     57for (( s=0 ; s < $num ; s++ ))
     58do
     59   sequence=${primaries[$s+$s]}
     60   telnum=${primaries[$s+$s+1]}
    6961   printprocesslog "INFO write sequence files for sequence $sequence"
    7062   no=`printf %08d $sequence | cut -c 0-4`
     
    7870
    7971   echo "write sequencefile for sequence $sequence" >> $scriptlog 2>&1
    80    primvar=$no2
    8172   setstatus "start" >> $scriptlog 2>&1
    8273
    83    check2=`root -q -b $macrospath/writesequencefile.C\($sequence\,1\,"\"$sequpath\""\) | tee $writesequencefilelog | intgrep`
     74   check2=`root -q -b $macrospath/writesequencefile.C\($sequence\,$telnum\,"\"$sequpath\""\) | tee $writesequencefilelog | intgrep`
    8475   case $check2 in
    8576      1)   echo " check2=$check2 -> everything ok " >> $scriptlog 2>&1
Note: See TracChangeset for help on using the changeset viewer.