Skip to content

Commit

Permalink
Merge branch 'fileListDF' of github.com:rest-for-physics/framework in…
Browse files Browse the repository at this point in the history
…to fileListDF
  • Loading branch information
juanangp committed Apr 12, 2024
2 parents b788e50 + 0b81d37 commit 6dd9735
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/framework/core/src/TRestDataSet.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,15 @@ std::vector<std::string> TRestDataSet::FileSelection() {
return fFileSelection;
}

<<<<<<< HEAD
std::vector<std::string> fileList;
for(const auto &pattern : fFilePatternList){
auto list = TRestTools::GetFilesMatchingPattern(pattern);
fileList.insert(end(fileList), begin(list), end(list));
}
=======
if (fFileList.empty()) fFileList = TRestTools::GetFilesMatchingPattern(fFilePattern);
>>>>>>> 0b81d3761936c020e7cfa432c980a57974368ea5

RESTInfo << "TRestDataSet::FileSelection. Starting file selection." << RESTendl;
RESTInfo << "Total files : " << fileList.size() << RESTendl;
Expand Down

0 comments on commit 6dd9735

Please sign in to comment.