Ignore:
Timestamp:
06/08/05 11:08:59 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7106 r7140  
    9696for dataset in ${datasets[@]}
    9797do
    98    no=`printf %08d $dataset | cut -c 0-4`
     98   no=`printf %08d $dataset | cut -c 0-5`
    9999   echo "checking files for dataset $dataset..." >> $scriptlog 2>&1
    100100   datasetfile=/magic/datasets/$no/dataset`printf %08d $dataset`.txt
    101101   sequences=(`cat $datasetfile | grep Sequences | sed -e 's/SequencesOn://g' | sed -e 's/SequencesOff://g'`)
    102102   
    103    echo "sequences: "${sequences[@]}
     103   if [ "$sequences" = "" ]
     104   then
     105      echo "no sequences found" >> $scriptlog 2>&1
     106      echo "continue with next dataset" >> $scriptlog 2>&1
     107      continue
     108   fi
     109   
     110   echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
    104111
    105112   outpath=$logpath/checkstardone/$no
Note: See TracChangeset for help on using the changeset viewer.