aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorLei Yan2013-07-05 16:25:13 +0000
committerLei Yan2013-07-05 16:25:13 +0000
commitad4a6f4d12df9a00f2a9b925f1147a26c6ee0227 (patch)
treed8c99a24b377c9c10817d66723907b6fc95b5d76 /wqflask
parent76ad4e6ae15f4d42ddd420cd14936c149aa0bb31 (diff)
downloadgenenetwork2-ad4a6f4d12df9a00f2a9b925f1147a26c6ee0227.tar.gz
Change Correlation table value format
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/correlation_page.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html
index efbf689c..53b12545 100644
--- a/wqflask/wqflask/templates/correlation_page.html
+++ b/wqflask/wqflask/templates/correlation_page.html
@@ -41,13 +41,13 @@
<td>{{ trait.symbol }}</td>
<td>{{ trait.alias }}</td>
<td>{{ trait.description }}</td>
- <td>Chr{{ trait.chr }}: {{ trait.mb }}</td>
- <td>{{ trait.mean }}</td>
- <td>{{ trait.lrs }}</td>
- <td>Chr{{ trait.locus_chr }}: {{ trait.locus_mb }}</td>
- <td>{{ trait.sample_r }}</td>
+ <td>Chr{{ trait.chr }}:{{'%0.6f'|format(trait.mb)}}</td>
+ <td>{{'%0.3f'|format(trait.mean)}}</td>
+ <td>{{'%0.3f'|format(trait.lrs)}}</td>
+ <td>Chr{{ trait.locus_chr }}:{{'%0.6f'|format(trait.locus_mb)}}</td>
+ <td>{{'%0.3f'|format(trait.sample_r)}}</td>
<td>{{ trait.num_overlap }}</td>
- <td>{{ trait.sample_p }}</td>
+ <td>{{'%0.3e'|format(trait.sample_p)}}</td>
</tr>
{% endfor %}
</tbody>