Skip to content

Commit

Permalink
Merge pull request #3572 from tvami/FixFilterEffNeg
Browse files Browse the repository at this point in the history
Fix the case when filter eff is negative in the fragement
  • Loading branch information
efeyazgan authored Dec 6, 2023
2 parents 7d0b328 + 5560060 commit dddd661
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 @@ -635,7 +635,7 @@ def root_requests_from_ticket(ticket_prepid, include_docs=False):
print("Filter efficiency in fragment =" + str(filter_eff_fragment))
print("Filter efficiency from generator parameters field = "+str(filter_eff))
# see https://github.com/cms-sw/genproductions/issues/3269
if len(filter_eff_fragment) > 0 and float(filter_eff_fragment) < 1.0:
if len(filter_eff_fragment) > 0 and float(filter_eff_fragment) < 1.0 and float(filter_eff_fragment) > 0:
if filter_eff_fragment and filter_eff and int(ext) == 0 and float(filter_eff_fragment) != float(filter_eff):
errors.append("In general, filter efficiency in the fragment is not taken into accout. Please make sure that the filter efficiency in the generator parameters field is correct!")

Expand Down

0 comments on commit dddd661

Please # to comment.