Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan committed Dec 23, 2024
1 parent d98718d commit 8f1bcd8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/common/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ def gene_info_get(request):
url=f"{api_base_url}/gene_info?geneID={request.args['geneID']}&gene={request.args['gene']}", headers=headers
)
if response.status_code == 200:
# DEBUG
# DEBUG
# DEBUG
print("################################################# 😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎 OK")
print(f"Response content: {response.content}")

return make_response(response.content, HTTPStatus.OK, {"Content-Type": "application/json"})
else:
# in the event of a failed search, return empty response
Expand Down

0 comments on commit 8f1bcd8

Please sign in to comment.