From d83b27d22197e67b7be8adab4a6c2e5be28ab70c Mon Sep 17 00:00:00 2001 From: Fabrizio Grosa Date: Thu, 15 Feb 2024 17:12:26 +0100 Subject: [PATCH] Framework: add condition in AOD merger to handle empty DFs in linked derived data --- Framework/AODMerger/src/aodMerger.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/AODMerger/src/aodMerger.cxx b/Framework/AODMerger/src/aodMerger.cxx index 363350882caaa..0b98d6f740c15 100644 --- a/Framework/AODMerger/src/aodMerger.cxx +++ b/Framework/AODMerger/src/aodMerger.cxx @@ -388,7 +388,7 @@ int main(int argc, char* argv[]) } } - if (currentDirSize > maxDirSize) { + if (maxDirSize == 0 || currentDirSize > maxDirSize) { if (verbosity > 0) { printf("Maximum size reached: %ld. Closing folder %s.\n", currentDirSize, dfName); }