Skip to content

Commit

Permalink
fix: Return trait description as list (#34)
Browse files Browse the repository at this point in the history
* fix: Return trait as list

* chore: Bump version to 1.0.14
  • Loading branch information
karatugo authored Mar 25, 2024
1 parent 29150bd commit 5dd6991
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 @@ -197,7 +197,7 @@ def metadata_dict_from_gwas_cat(
d = meta_dict.get("trait_description")
t = meta_dict.get("trait")
if not d and t:
meta_dict.update({"trait_description": t})
meta_dict.update({"trait_description": [t]})
except Exception as e:
print(f"Error processing Ingest API response: {e}")
pass
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.13"
version = "1.0.14"
description = ""
authors = ["jdhayhurst <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 5dd6991

Please sign in to comment.