Skip to content

Commit

Permalink
Update htsget_ingest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Nov 8, 2024
1 parent c6584e7 commit c49c4cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions htsget_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@ def htsget_ingest(ingest_json, do_not_index=False):
}

# send off index calls
for url in to_index:
response = requests.get(url, headers=headers, params={"do_not_index": do_not_index})
if not do_not_index:
for url in to_index:
response = requests.get(url, headers=headers, params={"do_not_index": do_not_index})

return result, status_code

Expand Down

0 comments on commit c49c4cd

Please sign in to comment.