Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sherpa version check #3760

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions bin/utils/request_fragment_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,11 +792,13 @@ def root_requests_from_ticket(ticket_prepid, include_docs=False):
else:
warnings.append("scram_arch for Sherpa unidentifiable")
sv_tmp = re.findall("sherpa/.*/",gridpack_cvmfs_path_tmp)[0].split("/")[1].split(".")
if "v" in sv_tmp[0].lower(): sv_tmp[0] = sv_tmp[0].replace("v","").replace("V","")
sherpa_version = int(sv_tmp[0])*1000 + int(sv_tmp[1])*100 + int(sv_tmp[2])
print ("Sherpa Version = ", sherpa_version)
sherpa_version = 0000
if "v" in sv_tmp[0].lower():
sv_tmp[0] = sv_tmp[0].replace("v","").replace("V","")
sherpa_version = int(sv_tmp[0])*1000 + int(sv_tmp[1])*100 + int(sv_tmp[2])
print ("Sherpa Version = ", sherpa_version)
if sherpa_version < 2211:
warnings.append("Sherpa older than version 2.2.11")
warnings.append("Sherpa older than version 2.2.11 or not specified in gp name")
if "openloops" in gridpack_cvmfs_path_tmp.lower():
openloops_flag = True
OL_list = os.popen('grep openloops '+pi_file).read().split("/")
Expand Down