aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-03-07 22:33:00 +0000
committerzsloan2021-03-07 22:33:00 +0000
commit808ae5022fe2de5802f284ea48e32f05656c8246 (patch)
tree67b2158835a88839fce5d2937bb1cd39a188059f /wqflask
parent6b0f4e959362643df91221cf2f0a9efe2eb4dd70 (diff)
downloadgenenetwork2-808ae5022fe2de5802f284ea48e32f05656c8246.tar.gz
Limited Mean for phenotype global search to 3 decimal places
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/gsearch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/gsearch.py b/wqflask/wqflask/gsearch.py
index 46500df8..907f1180 100644
--- a/wqflask/wqflask/gsearch.py
+++ b/wqflask/wqflask/gsearch.py
@@ -206,7 +206,7 @@ class GSearch(object):
else:
this_trait['description'] = "N/A"
if line[13] != None and line[13] != "":
- this_trait['mean'] = line[13]
+ this_trait['mean'] = f"{line[13]:.3f}"
else:
this_trait['mean'] = "N/A"
this_trait['authors'] = line[7]