From d73d84aea30f8c7c8477af2a6bb9f98076311490 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 6 Sep 2022 19:33:55 +0000 Subject: Include trait_info_str in trait JSON, so it can be included in collection table for partial corr --- wqflask/wqflask/collect.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3