Ignore:
Timestamp:
07/22/08 19:56:42 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/checkfileavail.C

    r9033 r9036  
    7575    // -------------------------------------------
    7676
    77     TString query = "MIN( NOT ("
     77    TString query = "SELECT MIN( NOT ("
    7878        "ISNULL(fRawFileAvail) OR "
    7979        "ISNULL(fCCFileAvail) OR "
    80         "ISNULL(fCaCoFileAvail) OR "
    81         "ISNULL(fCaCoFileFound) OR "
     80       // "ISNULL(fCaCoFileAvail) OR "
     81       // "ISNULL(fCaCoFileFound) OR "
    8282        "ISNULL(fTimingCorrection) OR "
    8383        "ISNULL(fCompmux) "
     
    9494    {
    9595        cout << "ERROR - Unexpected number of returned rows (" << res->GetRowCount() << ")" << endl;
     96        cout << query << endl;
    9697        delete res;
    9798        return 3;
     
    103104    {
    104105        cout << "ERROR - Unexpected result." << endl;
     106        cout << query << endl;
    105107        delete res;
    106108        return 3;
  • trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail

    r9017 r9036  
    7272   checkfileavailpath=$logpath/$program/$no
    7373   makedir $checkfileavailpath  >> $scriptlog 2>&1
    74    checkfileavaillog=$checkfileavailpath/$program-$sequence.log
     74   checkfileavaillog=$checkfileavailpath/$program-$no2.log
    7575
    76    sequencefile=$sequpath/$no/sequence$no2.txt
    77 
    78    primvar=$no2
     76   primvar=$sequence
    7977   setstatus "start" >> $scriptlog 2>&1
    8078
    81    check1=`root -q -b $macrospath/checkfileavail.C+\(\""$sequencefile\",1"\) | tee $checkfileavaillog | intgrep`
     79   check1=`root -q -b $macrospath/checkfileavail.C+\($sequence,1\) | tee $checkfileavaillog | intgrep`
    8280
    8381   case $check1 in
Note: See TracChangeset for help on using the changeset viewer.