diff options
author | Frederick Muriuki Muriithi | 2022-01-03 14:54:03 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-01-10 08:31:34 +0300 |
commit | c40f8711ab301f46c446db9c162d3806ea1c1f48 (patch) | |
tree | 812374b2447bb8e3c38292a50775ab742b2bcbbb /gn3 | |
parent | 6e7780b75b34d653002fc9bddc190e3d82c47d4c (diff) | |
download | genenetwork3-c40f8711ab301f46c446db9c162d3806ea1c1f48.tar.gz |
Use the correct letter case for the keys
* Use the correct case for the keys inorder to retrieve the correct values.
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/computations/partial_correlations.py | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gn3/computations/partial_correlations.py b/gn3/computations/partial_correlations.py index 70b6945..9bad12a 100644 --- a/gn3/computations/partial_correlations.py +++ b/gn3/computations/partial_correlations.py @@ -555,16 +555,13 @@ def trait_for_output(trait): "trait_name": trait["trait_name"], "symbol": trait.get("symbol"), "description": trait.get("description"), - "pre_publication_description": trait.get( - "pre_publication_description"), + "pre_publication_description": trait.get("Pre_publication_description"), "post_publication_description": trait.get( - "post_publication_description"), - "original_description": trait.get( - "original_description"), - "authors": trait.get("authors"), - "year": trait.get("year"), - "probe_target_description": trait.get( - "probe_target_description"), + "Post_publication_description"), + "original_description": trait.get("Original_description"), + "authors": trait.get("Authors"), + "year": trait.get("Year"), + "probe_target_description": trait.get("Probe_target_description"), "chr": trait.get("chr"), "mb": trait.get("mb"), "geneid": trait.get("geneid"), |