Skip to content

Commit

Permalink
Add pre-request log to reannote task
Browse files Browse the repository at this point in the history
This should allow us to see what files are bogging down the reannotate
task, so that we can ignore them and reannotate manually if necessary
  • Loading branch information
esanche06 committed Nov 30, 2023
1 parent b8924c4 commit 3972057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions appserver/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ def get_token():
return json.loads(req.text)['accessToken']['token']

def do_work(token, hash_ids, configs, organism: Fallback):
print(f'Sending request for files {hash_ids}...\n')
resp = requests.post(
'http://localhost:5000/filesystem/annotations/generate',
data=json.dumps(
Expand Down

0 comments on commit 3972057

Please sign in to comment.