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 Jan 25, 2024
1 parent e58ffb7 commit 9b82ba0
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 @@ -187,7 +187,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/{id}")
def show(
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 9b82ba0

Please sign in to comment.