Changeset 7265 for trunk/MagicSoft


Ignore:
Timestamp:
08/05/05 18:33:55 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
1 added
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7264 r7265  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2005/08/05 Daniela Dorner
     22
     23   * datacenter/macros/setupdb.C:
     24     - exchanged in the table RunProcessStatus the column fFillDotRaw
     25       by the column fDataCheckDone
     26
     27   * steps.rc:
     28     - adapted to the needs of the new step fDataCheckDone in the table
     29       RunProcessStatus
     30
     31   * datacenter/scripts/dodatacheck:
     32     - added (script to do datacheck including filldotraw.C, sinope,
     33       fillsinope.C, resetcolumn.C)
     34
     35   * datacenter/macros/filldotraw.C:
     36     - adapted to the needs the new script dodatacheck
     37
     38   * datacenter/macros/fillsinope.C:
     39     - adapted paths to the needs the new script dodatacheck
     40     - removed test stuff
     41
     42   * datacenter/macros/getdolist.C:
     43     - added if clause to reduce the number of runs for datacheck
     44       (arrays in shell scripts are limited)
     45     - added logging output
     46
     47   * datacenter/scripts/buildsequenceentries, fillcallisto,
     48     checkfilesforsequenceavail, checkstardone, correcttime,
     49     filesondisk, fillstar, insertdatasets, runganymed, runstar,
     50     doexclusions, writesequencefiles, runcallisto:
     51     - fixed typo and logging
     52
     53
    2054
    2155 2005/08/05 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/macros/filldotraw.C

    r7260 r7265  
    133133}
    134134
    135 Int_t Process(MSQLServer &serv, TString fname, Bool_t dummy)
     135int Process(MSQLServer &serv, TString fname, Bool_t dummy)
    136136{
    137137    MRawRunHeader h;
     
    165165}
    166166
    167 Int_t filldotraw(TString fname, Bool_t dummy=kTRUE)
     167int filldotraw(TString fname, Bool_t dummy=kTRUE)
    168168{
    169169    TEnv env("sql.rc");
     
    186186}
    187187
    188 Int_t filldotraw(Int_t runno, Bool_t dummy=kTRUE)
     188int filldotraw(Int_t runno, Bool_t dummy=kTRUE)
    189189{
    190190    TEnv env("sql.rc");
  • trunk/MagicSoft/Mars/datacenter/macros/fillsinope.C

    r7262 r7265  
    9494    for (Int_t i=0 ; i<9 ; i++)
    9595    {
    96         cout << "value: " << values[i] << endl;
     96//        cout << "value: " << values[i] << endl;
     97//        cout << "str: " << str << endl;
    9798        str = env.GetValue(values[i], "");
    9899        if (str.IsNull())
     
    174175    }
    175176
    176     TString fname(Form("%s/sinope/%s/sinope%08d.txt",
     177    TString fname(Form("%s/sinope/%s/sinope-dat%08d.txt",
    177178                       datapath.Data(), date.Data(), runno));
    178179    cout << "file: " << fname << endl;
     
    180181                        datapath.Data(), date.Data(), runno));
    181182    cout << "file-cal: " << fnamecal << endl;
    182 
    183     fname="/home/bla/Mars.cvs/bla.txt";
    184     fnamecal="/home/bla/Mars.cvs/blacal.txt";
    185183
    186184    Int_t rc=0;
     
    190188
    191189    rc=Process(serv, fnamecal, runno, kTRUE, dummy);
    192 
    193190    return rc;
    194 
    195191}
  • trunk/MagicSoft/Mars/datacenter/macros/getdolist.C

    r7256 r7265  
    112112    query+=Form(" ORDER BY %s.%s DESC ", table.Data(), rc.GetValue(table+".Primary", ""));
    113113
     114    if (table="RunProcessStatus")
     115        query+="LIMIT 0, 500";
     116
    114117    cout << "query: " << query << endl;
    115118
    116119    TSQLResult *res = serv.Query(query);
    117120    if (!res)
     121    {
     122        cout << "ERROR - Query failed: " << query << endl;
    118123        return 0;
     124    }
    119125
    120126
  • trunk/MagicSoft/Mars/datacenter/macros/setupdb.C

    r7262 r7265  
    595595         "  fCaCoFileFound         INT       UNSIGNED   NULL,"
    596596         "  fRawFileAvail          DATETIME             NULL,"
    597          "  fFillDotRaw            DATETIME             NULL,"
     597         "  fDataCheckDone         DATETIME             NULL,"
    598598         "  fTimingCorrection      DATETIME             NULL,"
    599599         "  fMerpp                 DATETIME             NULL,"
  • trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries

    r7233 r7265  
    5757    0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    5858    1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    59          echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&1
     59         echo "-> getting list for buildsequenceentries is running -> exit" >> $scriptlog 2>&1
    6060         date  >> $scriptlog 2>&1
    6161         exit;;
     
    6868
    6969case $check0 in
    70    1)   echo "check0=$check0 -> everthing ok -> do step" >> $scriptlog 2>&1;;
     70   1)   echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1;;
    7171   *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7272esac
     
    9595
    9696   case $check1 in
    97       1)   echo "check1=$check1 -> everthing ok -> setting status..." >> $scriptlog 2>&1
     97      1)   echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1
    9898           setstatuslogpath=$logpath/setstatus/buildsequenceentries/$year2
    9999           makedir $setstatuslogpath >> $scriptlog 2>&1
     
    101101           check2=`root -q -b $macrospath/setstatus.C+\("\"$date\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\)  | tee $setstatuslogpath/setstatus-buildsequenceentries-$date.log | grep int | sed -e 's/(int)//'`
    102102           case $check2 in
    103               1)   echo "check2=$check2 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
     103              1)   echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1;;
    104104              *)   echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
    105105           esac
  • trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail

    r7233 r7265  
    6161
    6262case $check0 in
    63    1)   echo "check0=$check0 -> everthing ok -> do step" >> $scriptlog 2>&1 ;;
     63   1)   echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1 ;;
    6464   *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;;
    6565esac
     
    8989
    9090   case $check1 in
    91       1)   echo "check1=$check1 -> everthing ok -> setting status..." >> $scriptlog 2>&1
     91      1)   echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1
    9292           setstatuslogpath=$logpath/setstatus/checkfileavail/$no
    9393           makedir $setstatuslogpath  >> $scriptlog 2>&1
     
    9595           check2=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\)  | tee $setstatuslogpath/setstatus-checkfileavail-$sequence.log | grep int | sed -e 's/(int)//'`
    9696           case $check2 in
    97               1)   echo "check2=$check2 -> everthing ok, status has been set" >> $scriptlog 2>&1 ;;
     97              1)   echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1 ;;
    9898              *)   echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1 ;;
    9999           esac
  • trunk/MagicSoft/Mars/datacenter/scripts/checkstardone

    r7233 r7265  
    6262
    6363case $check0 in
    64    1)   echo "check0=$check0 -> everthing ok -> do step" >> $scriptlog 2>&1 ;;
     64   1)   echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1 ;;
    6565   *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;;
    6666esac
     
    104104
    105105      case $check1 in
    106          1)   echo "check1=$check1 -> everthing ok -> continue with next sequence..." >> $scriptlog 2>&1 ;;
     106         1)   echo "check1=$check1 -> everything ok -> continue with next sequence..." >> $scriptlog 2>&1 ;;
    107107         *)   echo "check1=$check1 -> ERROR " >> $scriptlog 2>&1
    108108              echo "starfiles not available for sequence -> continue" >> $scriptlog 2>&1
     
    117117   check2=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\)  | tee $setstatuslogpath/setstatus-checkstardone-$dataset.log | grep int | sed -e 's/(int)//'`
    118118   case $check2 in
    119       1)   echo "check2=$check2 -> everthing ok, status has been set" >> $scriptlog 2>&1 ;;
     119      1)   echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1 ;;
    120120      *)   echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1 ;;
    121121   esac
  • trunk/MagicSoft/Mars/datacenter/scripts/correcttime

    r7233 r7265  
    5252
    5353case $check0 in
    54    1)   echo "check0=$check0 -> everthing ok -> run correct_raw_time";;
     54   1)   echo "check0=$check0 -> everything ok -> run correct_raw_time";;
    5555   *)   echo "check0=$check0 -> ERROR -> step has to be repeated";;
    5656esac
     
    8888
    8989  case $check1 in
    90      1)   echo "check1=$check1 -> everthing ok -> setting status..."
     90     1)   echo "check1=$check1 -> everything ok -> setting status..."
    9191          no=`printf %08d $run | cut -c 1-5`
    9292          setstatuspath=$logpath/setstatus/correct_raw_time/$no
     
    9797          case $check2 in
    9898             0)   echo "check2=0 -> ERROR -> step could not be set";;
    99              1)   echo "check2=1 -> everthing ok, status has been set";;
     99             1)   echo "check2=1 -> everything ok, status has been set";;
    100100          esac
    101101        ;;
  • trunk/MagicSoft/Mars/datacenter/scripts/doexclusions

    r7233 r7265  
    4242todofile=$listpath/ToDo-$table-$column.txt
    4343getstatuslogpath=$logpath/getstatus/doexclusions/$year
    44 getstatuslog=$getstatuslogpath/getstatus-doexcludions-$datetime.log
     44getstatuslog=$getstatuslogpath/getstatus-doexclusions-$datetime.log
    4545
    4646scriptlogpath=$logpath/run/doexclusions/`date +%Y/%m`
     
    5858    0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    5959    1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    60          echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&1
     60         echo "-> getting list for doexclusions is running -> exit" >> $scriptlog 2>&1
    6161         date  >> $scriptlog 2>&1
    6262         exit;;
     
    6969
    7070case $check0 in
    71    1)   echo "check0=$check0 -> everthing ok -> do step" >> $scriptlog 2>&1;;
     71   1)   echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1;;
    7272   *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7373esac
     
    8888for date in ${dates[@]}
    8989do
    90    echo "do exclusions for date "$date
     90   echo "do exclusions for date "$date >> $scriptlog 2>&1
    9191   year2=`echo $date | cut -c 1-4`
    9292   doexclusionspath=$logpath/doexclusions/$year2
     
    9696
    9797   case $check1 in
    98       1)   echo "check1=1 -> everthing ok -> setting status..."
     98      1)   echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1
    9999           setstatuslogpath=$logpath/setstatus/doexclusions/$year2
    100100           makedir $setstatuslogpath >> $scriptlog 2>&1
     
    103103
    104104           case $check2 in
    105               1)   echo "check2=$check2 -> everthing ok, status has been set";;
    106               *)   echo "check2=$check2 -> ERROR -> step could not be set";;
     105              1)   echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1 ;;
     106              *)   echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1 ;;
    107107           esac
    108108        ;;
    109       *)   echo "check1=$check1 -> ERROR -> step has to be repeated";;
     109      *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;;
    110110   esac
    111111done
  • trunk/MagicSoft/Mars/datacenter/scripts/filesondisk

    r7233 r7265  
    5050
    5151case $check3 in
    52    1)   echo "check3=$check3 -> everthing ok -> reset is done";;
     52   1)   echo "check3=$check3 -> everything ok -> reset is done";;
    5353   *)   echo "check3=$check3 -> ERROR -> something went wrong while resetting";;
    5454esac
     
    6868
    6969case $check0 in
    70    1)   echo "check0=$check0 -> everthing ok -> reset is done";;
     70   1)   echo "check0=$check0 -> everything ok -> reset is done";;
    7171   *)   echo "check0=$check0 -> ERROR -> something went wrong while resetting";;
    7272esac
     
    7878
    7979case $check1 in
    80    1)   echo "check1=$check1 -> everthing ok -> missing cacofiles are found";;
     80   1)   echo "check1=$check1 -> everything ok -> missing cacofiles are found";;
    8181   *)   echo "check1=$check1 -> ERROR -> something went wrong while resetting";;
    8282esac
     
    110110
    111111         case $check2 in
    112             1)   echo "check2=$check2 -> everthing ok -> insert is done";;
     112            1)   echo "check2=$check2 -> everything ok -> insert is done";;
    113113            *)   echo "check2=$check2 -> ERROR -> something went wrong while inserting run "$missingcacorun;;
    114114         esac
     
    133133
    134134case $check4 in
    135    1)   echo "check4=$check4 -> everthing ok -> reset is done";;
     135   1)   echo "check4=$check4 -> everything ok -> reset is done";;
    136136   *)   echo "check4=$check4 -> ERROR -> something went wrong while resetting";;
    137137esac
  • trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto

    r7233 r7265  
    6868
    6969case $check0 in
    70     1)   echo "check0=$check0 -> everthing ok -> run fillcallisto" >> $scriptlog 2>&1;;
     70    1)   echo "check0=$check0 -> everything ok -> run fillcallisto" >> $scriptlog 2>&1;;
    7171    *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7272esac
     
    103103
    104104   case $check1 in
    105       1)   echo "check1=$check1 -> everthing ok -> run fillsignal " >> $scriptlog 2>&1;;
     105      1)   echo "check1=$check1 -> everything ok -> run fillsignal " >> $scriptlog 2>&1;;
    106106      *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    107107           continue;;
     
    110110   check2=`root -q -b $macrospath/fillsignal.C+\("\"$signalfile\""\,kFALSE\) | tee $fillsignallog | grep int | sed -e 's/(int)//'`
    111111   case $check2 in
    112       1)   echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
     112      1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1
    113113           echo "-> inserting the status for fillcallisto for sequence $sequence into the db" >> $scriptlog 2>&1
    114114           setstatuslogpath=$logpath/setstatus/fillcallisto/$no
     
    118118           check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog-$sequence.log | grep int | sed -e 's/(int)//'`
    119119           case $check4 in
    120              1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
     120             1)   echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;;
    121121             *)   echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
    122122           esac
  • trunk/MagicSoft/Mars/datacenter/scripts/fillstar

    r7233 r7265  
    6767
    6868case $check0 in
    69     1)   echo "check0=$check0 -> everthing ok -> run fillstar" >> $scriptlog 2>&1;;
     69    1)   echo "check0=$check0 -> everything ok -> run fillstar" >> $scriptlog 2>&1;;
    7070    *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7171esac
     
    9898   check2=`root -q -b $macrospath/fillstar.C+\("\"$starfile\""\,kFALSE\) | tee $fillstarlog | grep int | sed -e 's/(int)//'`
    9999   case $check2 in
    100       1)   echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
     100      1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1
    101101           echo "-> inserting the status for fillstar for sequence $sequence into the db" >> $scriptlog 2>&1
    102102           setstatuslogpath=$logpath/setstatus/fillstar/$no
     
    106106           check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    107107           case $check4 in
    108              1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
     108             1)   echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;;
    109109             *)   echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
    110110           esac
  • trunk/MagicSoft/Mars/datacenter/scripts/insertdatasets

    r7233 r7265  
    4949    0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    5050    1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    51          echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&1
     51         echo "-> getting list for insertdatasets is running -> exit" >> $scriptlog 2>&1
    5252         date  >> $scriptlog 2>&1
    5353         exit;;
     
    9494   check0=`root -q -b $macrospath/insertdataset.C+\("\"$no2\""\,"\"$source\""\,"\"$wobble\"",kFALSE\) | tee $insertdatasetlog | grep int | sed -e 's/(int)//'`
    9595   case $check0 in
    96       1)   echo "check0=$check0 -> everthing ok " >> $scriptlog 2>&1 ;;
     96      1)   echo "check0=$check0 -> everything ok " >> $scriptlog 2>&1 ;;
    9797      *)   echo "check0=$check0 -> ERROR " >> $scriptlog 2>&1 ;;
    9898   esac
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r7256 r7265  
    7777   
    7878   case $check0 in
    79        1)   echo "check0=$check0 -> everthing ok -> run callisto" >> $scriptlog 2>&1;;
     79       1)   echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;;
    8080       *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    8181   esac
     
    160160
    161161  case $check1 in
    162      0)   echo "check1=$check1 -> everthing ok -> doing update..." >> $scriptlog 2>&1
     162     0)   echo "check1=$check1 -> everything ok -> doing update..." >> $scriptlog 2>&1
    163163          echo "finding files to be updated" >> $scriptlog 2>&1
    164164          calfiles=`find $outpath -name *_Y_* `
     
    211211             check2=$?
    212212             case $check2 in
    213                      0)   echo "check2=$check2 -> everthing ok, merppccupdate worked -> continue" >> $scriptlog 2>&1;;
     213                     0)   echo "check2=$check2 -> everything ok, merppccupdate worked -> continue" >> $scriptlog 2>&1;;
    214214                     *)   echo "check2=$check2 -> ERROR -> merppccupdate failed" >> $scriptlog 2>&1
    215215                          continue 2 ;;
     
    218218             check3=$?
    219219             case $check3 in
    220                      0)   echo "check3=$check3 -> everthing ok, merppcacoupdate worked -> continue" >> $scriptlog 2>&1;;
     220                     0)   echo "check3=$check3 -> everything ok, merppcacoupdate worked -> continue" >> $scriptlog 2>&1;;
    221221                     *)   echo "check3=$check3 -> ERROR -> merppcacoupdate failed" >> $scriptlog 2>&1
    222222                          continue 2 ;;
     
    231231          check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    232232          case $check4 in
    233              1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
     233             1)   echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;;
    234234             *)   echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
    235235          esac
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r7258 r7265  
    7575   
    7676   case $check0 in
    77        1)   echo "check0=$check0 -> everthing ok -> run ganymed" >> $scriptlog 2>&1;;
     77       1)   echo "check0=$check0 -> everything ok -> run ganymed" >> $scriptlog 2>&1;;
    7878       *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7979   esac
     
    153153
    154154  case $check1 in
    155      0)   echo "check1=$check1 -> everthing ok " >> $scriptlog 2>&1
     155     0)   echo "check1=$check1 -> everything ok " >> $scriptlog 2>&1
    156156          echo "-> inserting the status for ganymed for dataset $dataset into the db" >> $scriptlog 2>&1
    157157          setstatuslogpath=$logpath/setstatus/ganymed/$no
     
    161161          check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    162162          case $check4 in
    163              1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
     163             1)   echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;;
    164164             *)   echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
    165165          esac
  • trunk/MagicSoft/Mars/datacenter/scripts/runstar

    r7258 r7265  
    7474   
    7575   case $check0 in
    76        1)   echo "check0=$check0 -> everthing ok -> run star" >> $scriptlog 2>&1;;
     76       1)   echo "check0=$check0 -> everything ok -> run star" >> $scriptlog 2>&1;;
    7777       *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7878   esac
     
    145145
    146146  case $check1 in
    147      0)   echo "check1=$check1 -> everthing ok " >> $scriptlog 2>&1
     147     0)   echo "check1=$check1 -> everything ok " >> $scriptlog 2>&1
    148148          echo "-> inserting the status for star for sequence $sequence into the db" >> $scriptlog 2>&1
    149149          setstatuslogpath=$logpath/setstatus/star/$no
     
    153153          check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    154154          case $check4 in
    155              1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
     155             1)   echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;;
    156156             *)   echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
    157157          esac
  • trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles

    r7233 r7265  
    6767
    6868case $check0 in
    69     1)   echo "check0=$check0 -> everthing ok -> run writesequencefiles" >> $scriptlog 2>&1;;
     69    1)   echo "check0=$check0 -> everything ok -> run writesequencefiles" >> $scriptlog 2>&1;;
    7070    *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7171esac
     
    9898   check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\,"\"$sequpath\""\) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'`
    9999   case $check2 in
    100       1)   echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
     100      1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1
    101101           echo "-> inserting the status for writesequencefile for sequence $sequence into the db" >> $scriptlog 2>&1
    102102           setstatuslogpath=$logpath/setstatus/writesequencefile/$no
     
    106106           check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    107107           case $check4 in
    108              1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
     108             1)   echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;;
    109109             *)   echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;;
    110110           esac
  • trunk/MagicSoft/Mars/steps.rc

    r7042 r7265  
    5454RunProcessStatus.fRawFileAvail.Default: no
    5555#RunProcessStatus.fRawFileAvail.Needs: -
    56 #RunProcessStatus.fRawFileAvail.Influences: RunProcessStatus.fTimingCorrection RunProcessStatus.fMerpp RunProcessStatus.fMerppCCUpdate RunProcessStatus.fMerppCaCoUpdate
     56#RunProcessStatus.fRawFileAvail.Influences: RunProcessStatus.fTimingCorrection RunProcessStatus.fDataCheckDone RunProcessStatus.fMerpp RunProcessStatus.fMerppCCUpdate RunProcessStatus.fMerppCaCoUpdate
    5757RunProcessStatus.fRawFileAvail.Reset: yes
    5858
     
    7979
    8080
    81 #RunProcessStatus.fFillDotRaw.:
    82 RunProcessStatus.fFillDotRaw.Default: no
    83 RunProcessStatus.fFillDotRaw.Needs: RunProcessStatus.fRawFileAvail
    84 #RunProcessStatus.fFillDotRaw.Influences: -
    85 RunProcessStatus.fFillDotRaw.Reset: yes
     81#RunProcessStatus.fDataCheckDone.:
     82RunProcessStatus.fDataCheckDone.Default: no
     83RunProcessStatus.fDataCheckDone.Needs: RunProcessStatus.fRawFileAvail
     84#RunProcessStatus.fDataCheckDone.Influences: -
     85RunProcessStatus.fDataCheckDone.Reset: yes
    8686
    8787
Note: See TracChangeset for help on using the changeset viewer.