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

[MAYBE_NOT_MERGE] add RunNumber as a possible parametric sequence #7809

Closed
wants to merge 3 commits into from

Conversation

fstagni
Copy link
Contributor

@fstagni fstagni commented Sep 30, 2024

No description provided.

@DIRACGridBot DIRACGridBot added the alsoTargeting:integration Cherry pick this PR to integration after merge label Sep 30, 2024
@@ -211,8 +211,19 @@ def __prepareTasksBulk(self, transBody, taskDict, owner, ownerGroup, ownerDN):
self._logError("Invalid mixture of jobs with and without input data")
return S_ERROR(ETSDATA, "Invalid mixture of jobs with and without input data")

# Handle Run Number
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to treat runNumber in this way ?

@@ -244,7 +255,7 @@ def __prepareTasksBulk(self, transBody, taskDict, owner, ownerGroup, ownerDN):
paramSeqDict.setdefault(pName, []).append(seq)

for paramName, paramSeq in paramSeqDict.items():
if paramName in ["JOB_ID", "PRODUCTION_ID", "InputData"] + outputParameterList:
if paramName in ["JOB_ID", "PRODUCTION_ID", "InputData", "runNumber"] + outputParameterList:
Copy link
Contributor

@atsareg atsareg Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need just this line to be modified in the WorkflowTasks.py. And shouldn't it be RunNumber to avoid any confusion with runNumber (as in the tests) ?

@fstagni
Copy link
Contributor Author

fstagni commented Oct 2, 2024

OK, I got what I needed from this one. Now, closing.

@fstagni fstagni closed this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alsoTargeting:integration Cherry pick this PR to integration after merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants