Skip to content

Commit

Permalink
Merge pull request #46560 from AdrianoDee/fix_dqm_json_parsing_141X
Browse files Browse the repository at this point in the history
[14_1_X] Fix DQM Certification JSON Parsing From Web in `das-up-to-nevents.py`
  • Loading branch information
cmsbuild authored Nov 1, 2024
2 parents 3fc1127 + ee3b27c commit 510faea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def no_intersection():
if web_fallback:
cert_url = base_cert_url + cert_type + "/"
json_list = get_url_clean(cert_url).split("\n")
json_list = [c for c in json_list if "Golden" in c and "era" not in c]
json_list = [c for c in json_list if "Golden" in c and "era" not in c and "Cert_C" in c]
json_list = [[cc for cc in c.split(" ") if cc.startswith("Cert_C") and cc.endswith("json")][0] for c in json_list]

# the larger the better, assuming file naming schema
Expand Down

0 comments on commit 510faea

Please sign in to comment.