From 79d935dfa02de7507103b45266a61264cfe8f735 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 23 Apr 2020 14:13:02 -0500 Subject: Changed Trait to Marker for the stats table when the trait is a genotype trait --- wqflask/wqflask/static/new/javascript/show_trait.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js index 28d13345..d94a2347 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait.js +++ b/wqflask/wqflask/static/new/javascript/show_trait.js @@ -367,6 +367,8 @@ make_table = function() { var header, key, row, row_line, table, the_id, the_rows, value, _i, _len, _ref, _ref1; if (js_data.trait_symbol != null) { header = "Trait " + js_data.trait_id + " - " + js_data.trait_symbol + "Statistic"; + } else if (js_data.dataset_type == "Geno"){ + header = "Marker " + js_data.trait_id + "Statistic"; } else { header = "Trait " + js_data.trait_id + ": " + js_data.short_description + "Statistic"; } -- cgit v1.2.3