]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAnalysisManager.cxx
Extra files do not have to be mandatory produced anymore in grid jobs
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisManager.cxx
index 5ffbd1e8ba0e5d57f232f251d1365814d427bfb1..ee79315c36fd62e10422c68af3fd0cc9d8ec2725 100644 (file)
@@ -1721,6 +1721,7 @@ void AliAnalysisManager::RegisterExtraFile(const char *fname)
 // connected to any output container, so that the manager can properly register,
 // retrieve or merge them when running in distributed mode. The file names are
 // separated by blancs. The method has to be called in MyAnalysisTask::LocalInit().
+   if (fExtraFiles.Contains(fname)) return;
    if (fExtraFiles.Length()) fExtraFiles += " ";
    fExtraFiles += fname;
 }