Skip to content

Commit

Permalink
Merge pull request #3830 from cms-sw/kirill
Browse files Browse the repository at this point in the history
improve lhe check
  • Loading branch information
efeyazgan authored Jan 8, 2025
2 parents 3dc8810 + edf589e commit 0498987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/utils/request_fragment_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def lhe_evts_check(mcdbid):
n_lhe = 0
print("------------------------------------------------")
print("lhe files are in /eos/cms/store/lhe/"+str(mcdbid))
n_lhe = os.popen('xzgrep "</event>" /eos/cms/store/lhe/'+str(mcdbid)+'/*.lhe | wc -l').read()
n_lhe = os.popen('xzgrep "</event>" /eos/cms/store/lhe/'+str(mcdbid)+'/*.lhe* | wc -l').read()
print("total number of events in the LHE files "+n_lhe)
print("total requested in mcm "+str(totalevents))
if int(n_lhe) < int(totalevents):
Expand Down

0 comments on commit 0498987

Please sign in to comment.