aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,