Skip to content

Commit

Permalink
fix: Return trait_description in a list (#32)
Browse files Browse the repository at this point in the history
* fix: Return trait_description in a list

* chore: Bump version to 1.0.12
  • Loading branch information
karatugo authored Mar 22, 2024
1 parent 29a335f commit 4cfd639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gwas_sumstats_tools/interfaces/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def _parse_ingest_study_response(
# study
trait_description = response.get("diseaseTrait", {}).get("trait")
if trait_description:
response_parsed["trait_description"] = trait_description
response_parsed["trait_description"] = [trait_description]

# # extract EFO
# efo_url=response['_links']['efoTraits']['href']
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.11"
version = "1.0.12"
description = ""
authors = ["jdhayhurst <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 4cfd639

Please sign in to comment.