Skip to content

Commit

Permalink
Merge pull request cms-sw#3119 from cms-sw/eventslumi
Browse files Browse the repository at this point in the history
remove the events/lumi < 50 check which is handled by validation now
  • Loading branch information
efeyazgan authored Mar 3, 2022
2 parents ebdb567 + 4a0384e commit 108e619
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bin/utils/request_fragment_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,15 +940,15 @@ def root_requests_from_ticket(ticket_prepid, include_docs=False):
if timeperevent > 0:
nevts = (8*3600/timeperevent)*total_eff
print("Expected number of events = "+str(nevts))
if nevts < 50. and ppd == 0:
print("[ERROR] The expected number of events is too small (<50): "+str(nevts))
print(" Either the timeperevent value is too large or the filter or matching efficiency is too small. ")
print(" Note that total_efficiency = filter_efficiency x matching_efficiency.")
print(" Please check or improve:")
print(" time per event = "+str(timeperevent))
print(" filter efficiency = "+str(filter_eff))
print(" matching efficiency = "+str(match_eff))
error += 1
# if nevts < 50. and ppd == 0:
# print("[ERROR] The expected number of events is too small (<50): "+str(nevts))
# print(" Either the timeperevent value is too large or the filter or matching efficiency is too small. ")
# print(" Note that total_efficiency = filter_efficiency x matching_efficiency.")
# print(" Please check or improve:")
# print(" time per event = "+str(timeperevent))
# print(" filter efficiency = "+str(filter_eff))
# print(" matching efficiency = "+str(match_eff))
# error += 1

if any(word in dn for word in MEname) and gp_size == 0 and "plhe" not in pi.lower():
print("[ERROR] gridpack path is not properly specified - most probable reason is that it is not a cvmfs path.")
Expand Down

0 comments on commit 108e619

Please sign in to comment.