From 259d7249feff9b6eda66148fc062d03cc7abaaa1 Mon Sep 17 00:00:00 2001 From: Nicola Amapane Date: Tue, 5 Mar 2024 10:37:16 +0100 Subject: [PATCH] Add file open message as required by EOS scripts (#44293) --- .../python/postprocessing/framework/postprocessor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PhysicsTools/NanoAODTools/python/postprocessing/framework/postprocessor.py b/PhysicsTools/NanoAODTools/python/postprocessing/framework/postprocessor.py index 80a0d7940c5b5..b0aa56022c631 100755 --- a/PhysicsTools/NanoAODTools/python/postprocessing/framework/postprocessor.py +++ b/PhysicsTools/NanoAODTools/python/postprocessing/framework/postprocessor.py @@ -159,6 +159,7 @@ def run(self): fname = subprocess.check_output(['edmFileUtil', '-d', '-f '+fname]).decode("utf-8").strip() # open input file + print(time.strftime("%d-%b-%Y %H:%M:%S %Z", time.localtime()), " Initiating request to open file %s" %(fname), flush=True) # CMSSW-syle message, required by eos caching scripts if self.prefetch: ftoread, toBeDeleted = self.prefetchFile(fname) inFile = ROOT.TFile.Open(ftoread)