aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexander Kabui2021-10-10 03:21:27 +0300
committerAlexander Kabui2021-10-10 03:21:27 +0300
commit460d91ad4e5814e65f077b92410b798e8a82c23f (patch)
treeaad1aac7fed59027a159f9511c7572a4e3ffd1a0 /wqflask
parent9799274aa6c74756a63a744ea121a7f5793ea2a5 (diff)
downloadgenenetwork2-460d91ad4e5814e65f077b92410b798e8a82c23f.tar.gz
remove commented code and debug statements
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/test_wgcna_results.html23
1 files changed, 3 insertions, 20 deletions
diff --git a/wqflask/wqflask/templates/test_wgcna_results.html b/wqflask/wqflask/templates/test_wgcna_results.html
index da57fdd6..0d253564 100644
--- a/wqflask/wqflask/templates/test_wgcna_results.html
+++ b/wqflask/wqflask/templates/test_wgcna_results.html
@@ -85,20 +85,9 @@
{% endfor %}
</div>
</div>
-<!-- <div>
- <h3>Net colors</h3>
- <div class="control_net_colors">
- {% for key,value in results["data"]["output"]["net_colors"].items() %}
- <div style="background-color:{{value}}">
- <p>{{key}}</p>
- <p>{{value}}</p>
- </div>
- {% endfor %}
- </div>
- </div> -->
+
<div>
-
- <!-- end -->
+
{% if image["image_generated"] %}
<div >
<img class="control-image" src="data:image/jpeg;base64,{{ image['image_data']| safe }}">
@@ -140,13 +129,8 @@
let results = {{results|safe}}
let phenoModules = results["data"]["output"]["net_colors"]
-let phenotypes = Array.from(Object.keys(phenoModules));
+let phenotypes = Object.keys(phenoModules)
let phenoMods = Object.values(phenoModules)
-console.log(phenotypes)
-
-
-console.log(typeof phenotypes);
-
let {col_names,mod_dataset} = {{data|safe}}
$('#eigens').DataTable( {
@@ -159,7 +143,6 @@ let {col_names,mod_dataset} = {{data|safe}}
} );
$('#phenos').DataTable( {
data:phenotypes.map((phenoName,idx)=>{
- console.log(phenoName)
return [phenoName,phenoMods[idx]]
}),
columns: [{