Skip to content

Commit

Permalink
fix: Comment out dangerous sandbox ingest URL (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
karatugo authored Apr 18, 2024
1 parent 449618a commit 3900176
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions gwas_sumstats_tools/interfaces/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,11 @@ def metadata_dict_from_gwas_cat(
"""
meta_dict = {}
sample_list = []
### DEV ONLY ######
# if is_sandbox:
# study_url = GWAS_CAT_API_INGEST_STUDIES_URL_SANDBOX + accession_id
###################
study_url = GWAS_CAT_API_INGEST_STUDIES_URL + accession_id
if is_sandbox:
study_url = GWAS_CAT_API_INGEST_STUDIES_URL_SANDBOX + accession_id
sample_url = study_url + "/samples"
rest_url = GWAS_CAT_API_STUDIES_URL + accession_id

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gwas-sumstats-tools"
version = "1.0.16"
version = "1.0.17"
description = ""
authors = ["jdhayhurst <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 3900176

Please sign in to comment.