Changeset 9061


Ignore:
Timestamp:
07/31/08 14:15:56 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9058 r9061  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2008/07/31 Daniela Dorner
     22
     23   * resources/steps.rc:
     24     - added missing influences and needs for DataSetProcessStatus
     25
     26   * datacenter/scripts/checkstardone
     27     - removed breaks
     28     - removed not needed variables
     29     - changed dataset from string to int in call of macro
     30
     31
    2032
    2133 2008/07/31 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/scripts/checkstardone

    r9054 r9061  
    5959   printprocesslog "INFO checking star done for sequences of dataset $dataset"
    6060
    61    no=`printf %08d $dataset | cut -c 0-5`
    62    no2=`printf %08d $dataset`
    63    dsnum=`printf %08d $dataset`
    64 
    65    echo "run $program for sequence $sequence..." >> $scriptlog 2>&1
    66 
    67    outpath=$logpath/$program/$no/$no2
     61   outpath=$logpath/$program/`printf %08d $dataset | cut -c 0-5`
    6862   makedir $outpath  >> $scriptlog 2>&1
    6963
    7064   setstatus "start" >> $scriptlog 2>&1
    7165
    72    check1=`root -q -b $macrospath/checkstardone.C+\(\""$dsnum\""\) | tee $outpath/checkstardone-$dsnum.log | intgrep`
     66   check1=`root -q -b $macrospath/checkstardone.C+\($dataset\) | tee $outpath/checkstardone-$dataset.log | intgrep`
    7367
    7468   case $check1 in
    7569      1)   echo " check1=$check1 -> everything ok -> continue with next dataset..." >> $scriptlog 2>&1 ;;
    76       2)   echo " check1=$check1 -> star files for dataset $dsnum not yet available -> continue..." >> $scriptlog 2>&1
    77            printprocesslog "INFO files not yet available for dataset $dsnum"
     70      2)   echo " check1=$check1 -> star files for dataset $dataset not yet available -> continue..." >> $scriptlog 2>&1
     71           printprocesslog "INFO files not yet available for dataset $dataset"
    7872           check="no"
    79            break
    8073           ;;
    8174      0)   echo " check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1
    8275           printprocesslog "WARN connection to DB failed"
    8376           check="no"
    84            break
    8577           ;;
    8678      *)   echo " check1=$check1 -> ERROR " >> $scriptlog 2>&1
     
    8880           com=$Fstardone
    8981           check=$check1
    90            break
    9182           ;;
    9283   esac
  • trunk/MagicSoft/Mars/resources/steps.rc

    r9051 r9061  
    174174DataSetProcessStatus.fDataSetNumber.Default: yes
    175175#DataSetProcessStatus.fDataSetNumber.Needs: -
    176 DataSetProcessStatus.fDataSetNumber.Influences: DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed
     176DataSetProcessStatus.fDataSetNumber.Influences: DataSetProcessStatus.fDataSetInserted DataSetProcessStatus.fDataSetFileWritten DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed  DataSetProcessStatus.fFillGanymed
    177177DataSetProcessStatus.fDataSetNumber.Reset: yes
    178178
     
    181181DataSetProcessStatus.fDataSetInserted.Default: no
    182182DataSetProcessStatus.fDataSetInserted.Needs: DataSetProcessStatus.fDataSetNumber
    183 DataSetProcessStatus.fDataSetInserted.Influences: DataSetProcessStatus.fDataSetFileWritten DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed DataSetProcessStatus.fFillGanymed
     183DataSetProcessStatus.fDataSetInserted.Influences: DataSetProcessStatus.fDataSetFileWritten DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed DataSetProcessStatus.fFillGanymed DataSetProcessStatus.fFillGanymed
    184184DataSetProcessStatus.fDataSetInserted.Reset: yes
    185185
     
    188188DataSetProcessStatus.fDataSetFileWritten.Default: no
    189189DataSetProcessStatus.fDataSetFileWritten.Needs: DataSetProcessStatus.fDataSetNumber DataSetProcessStatus.fDataSetInserted
    190 DataSetProcessStatus.fDataSetFileWritten.Influences: DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed
     190DataSetProcessStatus.fDataSetFileWritten.Influences: DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed  DataSetProcessStatus.fFillGanymed
    191191DataSetProcessStatus.fDataSetFileWritten.Reset: yes
    192192
     
    195195DataSetProcessStatus.fStarFilesAvail.Default: no
    196196DataSetProcessStatus.fStarFilesAvail.Needs: DataSetProcessStatus.fDataSetInserted DataSetProcessStatus.fDataSetFileWritten
    197 DataSetProcessStatus.fStarFilesAvail.Influences: DataSetProcessStatus.fGanymed
     197DataSetProcessStatus.fStarFilesAvail.Influences: DataSetProcessStatus.fGanymed  DataSetProcessStatus.fFillGanymed
    198198DataSetProcessStatus.fStarFilesAvail.Reset: yes
    199199
Note: See TracChangeset for help on using the changeset viewer.