Ignore:
Timestamp:
01/11/07 14:56:24 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjoptim/MJOptimize.cc

    r8223 r8244  
    236236//------------------------------------------------------------------------
    237237//
    238 // Add seqeunces from list to reader
     238// Add sequences from list to reader
    239239//
    240240Bool_t MJOptimize::AddSequences(MRead &read, TList &list) const
     
    243243
    244244    TIter Next(&list);
    245     TObject *o=0;
    246     while ((o=Next()))
    247     {
    248         MSequence seq(o->GetName());
    249         if (!seq.IsValid())
     245    MSequence *seq=0;
     246    while ((seq=(MSequence*)Next()))
     247    {
     248        if (!seq->IsValid())
    250249            return kFALSE;
    251         if (seq.SetupDatRuns(files, o->GetTitle(), "I")<=0)
     250        if (seq->SetupDatRuns(files)<=0)
    252251            return kFALSE;
    253252    }
     
    264263void MJOptimize::AddSequenceOn(const char *fname, const char *dir)
    265264{
    266     fNamesOn.Add(new TNamed(fname, dir));
     265    fNamesOn.Add(new MSequence(fname, dir));
    267266}
    268267
     
    275274void MJOptimize::AddSequenceOff(const char *fname, const char *dir)
    276275{
    277     fNamesOff.Add(new TNamed(fname, dir));
     276    fNamesOff.Add(new MSequence(fname, dir));
    278277}
    279278
Note: See TracChangeset for help on using the changeset viewer.