aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-09-06 19:33:55 +0000
committerzsloan2022-09-06 19:33:55 +0000
commitd73d84aea30f8c7c8477af2a6bb9f98076311490 (patch)
tree70962c5470149c1b4f01bdb706e6d2c5da43fa2e /wqflask
parentd87521b4dc34f554069e60e9808b5a114b8dc7a9 (diff)
downloadgenenetwork2-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.py5
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,