Skip to content

Commit

Permalink
fixed variant import from heredicare
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Apr 16, 2024
1 parent 882a8b9 commit 7d820bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/annotation_service/heredicare_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ def get_vid_list(self):
header = {"Authorization": "Bearer " + Heredicare.bearer}

resp = requests.get(url, headers=header)
with open("/mnt/storage2/users/ahdoebm1/HerediVar/src/annotation_service/test.json", "w") as f:
f.write(str(resp.json()))
if resp.status_code == 401: # unauthorized
message = "ERROR: HerediCare API get vid list endpoint returned an HTTP 401, unauthorized error. Attempting retry."
status = "retry"
Expand Down

0 comments on commit 7d820bf

Please sign in to comment.