Skip to content

Commit

Permalink
debug - do not merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Oct 14, 2024
1 parent 45840a3 commit a4345c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/webapps/galaxy/services/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ def invoke_workflow(
trans.check_user_activation()
# Get workflow + accessibility check.
by_stored_id = not payload.instance
print(f"\n\n\n\n\n\n\n by_stored_id is {by_stored_id}, workflow_id is {workflow_id}\n\n\n\n")
stored_workflow = self._workflows_manager.get_stored_accessible_workflow(trans, workflow_id, by_stored_id)
print(f"\n\n\n\n\n\n\n stored_workflow.name is {stored_workflow.name}, stored_workflow.id is {stored_workflow.id}\n\n\n\n")
version = payload.version
if version is None and payload.instance:
workflow = stored_workflow.get_internal_version_by_id(workflow_id)
Expand Down
2 changes: 2 additions & 0 deletions lib/galaxy_test/base/populators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2138,6 +2138,7 @@ def run_workflow(
workflow_request["inputs_by"] = "name"
if parameters:
workflow_request["parameters"] = json.dumps(parameters)
print(f"\n\n\n\n\n\nparameters are {parameters}")
workflow_request["parameters_normalized"] = True
if replacement_parameters:
workflow_request["replacement_params"] = json.dumps(replacement_parameters)
Expand All @@ -2163,6 +2164,7 @@ def rerun(self, run_jobs_summary: "RunJobsSummary", wait: bool = True, assert_ok
workflow_id = run_jobs_summary.workflow_id
inputs = run_jobs_summary.inputs
workflow_request = self.invocation_to_request(invocation_id)
print(f"\n\n\n\n\n\n\nworkflow request is {workflow_request}")
assert workflow_request["history_id"] == history_id
assert workflow_request["instance"] is True
return self._request_to_summary(
Expand Down

0 comments on commit a4345c0

Please sign in to comment.