From edf589eb4a7482d634a11d3fbc3663c7cba6be8a Mon Sep 17 00:00:00 2001 From: Efe Date: Wed, 8 Jan 2025 12:03:27 +0100 Subject: [PATCH] improve lhe check --- bin/utils/request_fragment_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/utils/request_fragment_check.py b/bin/utils/request_fragment_check.py index 33f804515d9..0afb6a0b723 100755 --- a/bin/utils/request_fragment_check.py +++ b/bin/utils/request_fragment_check.py @@ -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 "" /eos/cms/store/lhe/'+str(mcdbid)+'/*.lhe | wc -l').read() + n_lhe = os.popen('xzgrep "" /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):