Skip to content

Commit

Permalink
hold on to comments for later
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuwd committed Dec 13, 2024
1 parent 2239bd6 commit 25798b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diracx-routers/src/diracx/routers/jobs/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def __init__(self, user_info: AuthorizedUserInfo, allInfo: bool = True):
jobClassAd = ClassAd(job_definitions[0])
result = getParameterVectorLength(jobClassAd)
if not result["OK"]:
# FIXME dont do this
print("Issue with getParameterVectorLength", result["Message"])
return result
nJobs = result["Value"]
Expand All @@ -123,6 +124,7 @@ def __init__(self, user_info: AuthorizedUserInfo, allInfo: bool = True):
parametricJob = True
result = generateParametricJobs(jobClassAd)
if not result["OK"]:
# FIXME why?
return result
jobDescList = result["Value"]
else:
Expand Down Expand Up @@ -162,6 +164,7 @@ def __init__(self, user_info: AuthorizedUserInfo, allInfo: bool = True):
initialStatus = JobStatus.RECEIVED
initialMinorStatus = "Job accepted"

# FIXME this is not really bulk insert
for (
jobDescription
) in (
Expand Down

0 comments on commit 25798b4

Please sign in to comment.