Skip to content

Commit

Permalink
debugging we don't want
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jun 28, 2024
1 parent 938d398 commit 085b6e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/galaxy/webapps/galaxy/api/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ def create(
self, trans: ProvidesHistoryContext = DependsOnTrans, job_request: JobRequest = Body(...)
) -> JobCreateResponse:
validate_not_protected(job_request.tool_id)
return self.service.create(trans, job_request)
rval = self.service.create(trans, job_request)
return rval

@router.get("/api/jobs")
def index(
Expand Down
4 changes: 3 additions & 1 deletion lib/galaxy/webapps/galaxy/api/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ def tool_request_state(
id: DecodedDatabaseIdField,
trans: ProvidesHistoryContext = DependsOnTrans,
) -> str:
return trans.app.model.context.query(ToolRequest).get(id).state
rval = trans.app.model.context.query(ToolRequest).get(id).state
log.info(f"RETURNING STATE OF {rval}")
return rval

@router.get(
"/api/tools/{tool_id}/inputs",
Expand Down

0 comments on commit 085b6e0

Please sign in to comment.