diff --git a/src/THcParmList.cxx b/src/THcParmList.cxx index c0a14c2058e63a90ff58a40e04b0cb9717b9896f..445b1ea57c9b817b007cdfea8a5b2d47ef2f47a5 100644 --- a/src/THcParmList.cxx +++ b/src/THcParmList.cxx @@ -257,7 +257,7 @@ The ENGINE CTP support parameter "blocks" which were marked with linecount++; // If RunNumber>0 and first line we encounter is not a run range, need to // print an error - if(RunNumber>0) { + if(RunNumber>0 && nfiles==1) { if(line.find_first_not_of("0123456789-,")==string::npos) { // Interpret as runnum range // Interpret line as a list of comma separated run numbers or ranges TString runnums(line.c_str());