From 10d1decc85f6018b5603e7a7d11938b267b57f6f Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 13 Apr 2020 18:06:40 -0500 Subject: Fixed issue that caused export for HET3-ITP traits to not work due to the backslash in one of the case attribute names + added a couple links for stats table items --- wqflask/wqflask/static/new/javascript/show_trait.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js index 003e0a90..28d13345 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait.js +++ b/wqflask/wqflask/static/new/javascript/show_trait.js @@ -73,10 +73,12 @@ Stat_Table_Rows.push( }, { vn: "skewness", pretty: "Skewness", + url: "https://en.wikipedia.org/wiki/Skewness", digits: 3 }, { vn: "kurtosis", - pretty: "Kurtosis", + pretty: "Excess Kurtosis", + url: "https://en.wikipedia.org/wiki/Kurtosis", digits: 3 } ); @@ -389,7 +391,7 @@ make_table = function() { } row_line = ""; if (row.url != null) { - row_line += "" + row.pretty + ""; + row_line += "" + row.pretty + ""; } else { row_line += "" + row.pretty + ""; } @@ -839,7 +841,7 @@ get_sample_table_data = function(table_name) { for (key in _ref) { if (!__hasProp.call(_ref, key)) continue; attribute_info = _ref[key]; - row_data[attribute_info.name] = $.trim($(element).find('.column_name-' + attribute_info.name.replace(" ", "_")).text()); + row_data[attribute_info.name] = $.trim($(element).find('.column_name-' + attribute_info.name.replace(" ", "_").replace("/", "\\/")).text()); } return samples.push(row_data); }; -- cgit v1.2.3