aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-08-02 19:09:01 +0000
committerzsloan2022-08-02 19:09:01 +0000
commita27af20d34190ab5320350dfe73d0a4ce6e116d7 (patch)
treec2cafe872ebf27a56ce011d1f951cd99ace2c90d
parent1c13e5aa3f221a85448c8d453e8e79ef19c05ed0 (diff)
downloadgenenetwork2-a27af20d34190ab5320350dfe73d0a4ce6e116d7.tar.gz
Remove unused parameters from correlation_page.html column render functions
-rw-r--r--wqflask/wqflask/templates/correlation_page.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html
index dbab2ffc..8e9af648 100644
--- a/wqflask/wqflask/templates/correlation_page.html
+++ b/wqflask/wqflask/templates/correlation_page.html
@@ -232,7 +232,7 @@
'width': "25px",
'orderDataType': "dom-checkbox",
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return '<input type="checkbox" name="searchResult" class="checkbox trait_checkbox" value="' + data.hmac + '">'
}
},
@@ -247,7 +247,7 @@
'type': "natural-minus-na",
'data': null,
'width': "60px",
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return '<a target="_blank" href="/show_trait?trait_id=' + data.trait_id + '&dataset=' + data.dataset + '">' + data.trait_id + '</a>'
}
}{% if target_dataset.type == 'ProbeSet' %},
@@ -261,7 +261,7 @@
'title': "Description",
'type': "natural",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.description))
} catch(err){
@@ -288,7 +288,7 @@
'width': "40px",
'data': null,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.sample_r != "N/A") {
return "<a target\"_blank\" href=\"corr_scatter_plot?method={% if corr_method == 'spearman' %}spearman{% else %}pearson{% endif %}&dataset_1={% if this_dataset.name == 'Temp' %}Temp_{{ this_dataset.group }}{% else %}{{ this_dataset.name }}{% endif %}&dataset_2=" + data.dataset + "&trait_1={{ this_trait.name }}&trait_2=" + data.trait_id + "\">" + data.sample_r + "</a>"
} else {
@@ -356,7 +356,7 @@
'type': "natural",
'width': "200px",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.abbreviation_display))
} catch(err){
@@ -368,7 +368,7 @@
'title': "Description",
'type': "natural",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.description))
} catch(err){
@@ -388,7 +388,7 @@
'type': "natural",
'width': "400px",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.authors_display))
} catch(err){
@@ -401,7 +401,7 @@
'type': "natural-minus-na",
'data': null,
'width': "80px",
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.pubmed_id != "N/A"){
return '<a href="' + data.pubmed_link + '">' + data.pubmed_text + '</a>'
} else {
@@ -416,7 +416,7 @@
'width': "40px",
'data': null,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.sample_r != "N/A") {
return "<a target\"_blank\" href=\"corr_scatter_plot?method={% if corr_method == 'spearman' %}spearman{% else %}pearson{% endif %}&dataset_1={% if this_dataset.name== 'Temp' %}Temp_{{ this_dataset.group }}{% else %}{{ this_dataset.name }}{% endif %}&dataset_2=" + data.dataset + "&trait_1={{ this_trait.name }}&trait_2=" + data.trait_id + "\">" + data.sample_r + "</a>"
} else {
@@ -470,7 +470,7 @@
'width': "40px",
'data': null,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.sample_r != "N/A") {
return "<a target\"_blank\" href=\"corr_scatter_plot?method={% if corr_method == 'spearman' %}spearman{% else %}pearson{% endif %}&dataset_1={% if this_dataset.name == 'Temp' %}Temp_{{ this_dataset.group }}{% else %}{{ this_dataset.name }}{% endif %}&dataset_2=" + data.dataset + "&trait_1={{ this_trait.name }}&trait_2=" + data.trait_id + "\">" + data.sample_r + "</a>"
} else {