diff options
author | Lei Yan | 2013-07-05 16:25:13 +0000 |
---|---|---|
committer | Lei Yan | 2013-07-05 16:25:13 +0000 |
commit | ad4a6f4d12df9a00f2a9b925f1147a26c6ee0227 (patch) | |
tree | d8c99a24b377c9c10817d66723907b6fc95b5d76 | |
parent | 76ad4e6ae15f4d42ddd420cd14936c149aa0bb31 (diff) | |
download | genenetwork2-ad4a6f4d12df9a00f2a9b925f1147a26c6ee0227.tar.gz |
Change Correlation table value format
-rw-r--r-- | wqflask/wqflask/templates/correlation_page.html | 12 |
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> |