diff options
author | zsloan | 2020-04-23 14:13:02 -0500 |
---|---|---|
committer | zsloan | 2020-04-23 14:13:02 -0500 |
commit | 79d935dfa02de7507103b45266a61264cfe8f735 (patch) | |
tree | eea71f3dc2de4bb9cc6988dd5d72e51247b1f362 | |
parent | a6234c3d2d17273062ec206b7146949c1e64a5ba (diff) | |
download | genenetwork2-79d935dfa02de7507103b45266a61264cfe8f735.tar.gz |
Changed Trait to Marker for the stats table when the trait is a genotype trait
-rw-r--r-- | wqflask/wqflask/static/new/javascript/show_trait.js | 2 |
1 files changed, 2 insertions, 0 deletions
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 = "<thead><tr><th style=\"color: white; background-color: #369; text-align: center;\" colspan=\"100%\">Trait " + js_data.trait_id + " - " + js_data.trait_symbol + "</th></tr><tr><th style=\"text-align: right; padding-left: 5px;\">Statistic</th>"; + } else if (js_data.dataset_type == "Geno"){ + header = "<thead><tr><th style=\"color: white; background-color: #369; text-align: center;\" colspan=\"100%\">Marker " + js_data.trait_id + "</th></tr><tr><th style=\"text-align: right; padding-left: 5px;\">Statistic</th>"; } else { header = "<thead><tr><th style=\"color: white; background-color: #369; text-align: center;\" colspan=\"100%\">Trait " + js_data.trait_id + ": " + js_data.short_description + "</th></tr><tr><th style=\"text-align: right; padding-left: 5px;\">Statistic</th>"; } |