Ignore:
Timestamp:
06/20/09 10:14:33 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mreport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mreport/MReport.cc

    r9423 r9462  
    169169//    200805190  | 54711.5 |         |  200809030
    170170//    200812040  | 54814.5 |         |  200812140
     171//    200902210  | 54968.5 |         |  200905170
    171172//
    172173Int_t MReport::Interprete(TString &str, const MTime &start, const MTime &stop, Int_t ver)
     
    208209        ver=200812140;
    209210
     211    if (ver==200902210 && GetMjd()>54968.5)
     212        ver=200905170;
     213
    210214    // Interprete body (contents) of report
    211215    const Int_t rc = InterpreteBody(str, ver);
  • trunk/MagicSoft/Mars/mreport/MReportDrive.cc

    r8885 r9462  
    135135    }
    136136
     137    if (ver>=200805170)
     138    {
     139        Int_t dummy; // Starguider switched on or not
     140        n=sscanf(str.Data(), "%d %n", &dummy, &len);
     141        if (n!=1)
     142        {
     143            *fLog << warn << "WARNING - Not enough arguments." << endl;
     144            return kCONTINUE;
     145        }
     146
     147        str.Remove(0, len);
     148        str = str.Strip(TString::kBoth);
     149    }
     150
    137151    return str.IsNull() ? kTRUE : kCONTINUE;
    138152}
Note: See TracChangeset for help on using the changeset viewer.