Changeset 8224 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 12/12/06 10:40:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MSequence.cc
r8222 r8224 205 205 const Bool_t def = d.IsNull(); 206 206 207 // For this particular case we assume that the files are added one by 208 // one without wildcards. 209 const Int_t n0 = iter.GetNumEntries(); 210 207 211 // Setup path 208 212 if (def) … … 291 295 } 292 296 293 const Int_t n 0 = iter.GetNumEntries();294 const Int_t n 1= arr.GetSize();295 if (n 0==0)297 const Int_t n1 = iter.GetNumEntries()-n0; 298 const Int_t n2 = arr.GetSize(); 299 if (n1==0) 296 300 { 297 301 *fLog << err; … … 302 306 } 303 307 304 if (n 0==n1)305 return n 0;308 if (n1==n2) 309 return n1; 306 310 307 311 *fLog << err; 308 *fLog << "ERROR - " << n 0<< " input files for sequence #" << GetSequence() << " found in" << endl;312 *fLog << "ERROR - " << n1 << " input files for sequence #" << GetSequence() << " found in" << endl; 309 313 *fLog << " " << (def?" default-path ":" ") << d << endl; 310 *fLog << " but " << n 1<< " files were defined in sequence file" << endl;314 *fLog << " but " << n2 << " files were defined in sequence file" << endl; 311 315 *fLog << " " << GetName() << endl; 312 316 if (fLog->GetDebugLevel()<=4)
Note:
See TracChangeset
for help on using the changeset viewer.