Skip to content

Commit

Permalink
Add file open message as required by EOS scripts (cms-sw#44293)
Browse files Browse the repository at this point in the history
  • Loading branch information
namapane committed Mar 7, 2024
1 parent ba10f15 commit 259d724
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 259d724

Please sign in to comment.