diff options
author | zsloan | 2022-09-06 19:33:55 +0000 |
---|---|---|
committer | zsloan | 2022-09-06 19:33:55 +0000 |
commit | d73d84aea30f8c7c8477af2a6bb9f98076311490 (patch) | |
tree | 70962c5470149c1b4f01bdb706e6d2c5da43fa2e /wqflask | |
parent | d87521b4dc34f554069e60e9808b5a114b8dc7a9 (diff) | |
download | genenetwork2-d73d84aea30f8c7c8477af2a6bb9f98076311490.tar.gz |
Include trait_info_str in trait JSON, so it can be included in collection table for partial corr
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/collect.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py index 09ab2b60..87a96a26 100644 --- a/wqflask/wqflask/collect.py +++ b/wqflask/wqflask/collect.py @@ -269,7 +269,10 @@ def view_collection(): trait_ob, dataset, get_qtl_info=True) trait_obs.append(trait_ob) - json_version.append(jsonable(trait_ob)) + trait_json = jsonable(trait_ob) + trait_json['trait_info_str'] = trait_info_str(trait_ob) + + json_version.append(trait_json) collection_info = dict( trait_obs=trait_obs, |