Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tune find commands that generate XML collections #1465

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ANALYSIS/ANALYSISaliceBase/AliAnalysisAlien.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ Bool_t AliAnalysisAlien::CreateDataset(const char *pattern)
delimiter.Strip();
if (delimiter.Contains(" ")) delimiter = "";
else delimiter = " ";
TString options = " ";
TString options = "-f ";
if (TestBit(AliAnalysisGrid::kTest)) options += Form("-l %d ", fNtestFiles);
else options += Form("-l %d ", gMaxEntries); // Protection for the find command
TString conditions = "";
Expand Down Expand Up @@ -2816,7 +2816,7 @@ Bool_t AliAnalysisAlien::CheckMergedFiles(const char *filename, const char *alie
//TGridResult *res = gGrid->Command(Form("find -x Stage_%d %s %s", stage, aliendir, pattern.Data()));
//if (res) delete res;
// Write standard output to file
TGridCollection *tmp = gGrid->OpenCollectionQuery(gGrid->Command(Form("find %s %s", aliendir, pattern.Data())),kTRUE);
TGridCollection *tmp = gGrid->OpenCollectionQuery(gGrid->Command(Form("find -f %s %s", aliendir, pattern.Data())),kTRUE);
tmp->ExportXML(Form("file://Stage_%d.xml",stage),kFALSE,kFALSE,Form("Stage_%d",stage));
//gROOT->ProcessLine(Form("gGrid->Stdout(); > %s", Form("Stage_%d.xml",stage)));
// Count the number of files inside
Expand Down