aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2020-11-12 13:33:52 -0600
committerzsloan2020-11-12 13:33:52 -0600
commit6feb7dd0f8020c7ed54b70be6a15c099dc62b490 (patch)
tree032b844df6c1a85c826de4908b6407e714a3f9db /wqflask
parentcd01afec0bbe28bfcd1982cbf03c056a856b1d13 (diff)
downloadgenenetwork2-6feb7dd0f8020c7ed54b70be6a15c099dc62b490.tar.gz
Show Mb positions to 6 decimal places in mapping results table
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/run_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/run_mapping.py b/wqflask/wqflask/marker_regression/run_mapping.py
index fa61272f..9625349c 100644
--- a/wqflask/wqflask/marker_regression/run_mapping.py
+++ b/wqflask/wqflask/marker_regression/run_mapping.py
@@ -414,7 +414,7 @@ class RunMapping(object):
highest_chr = marker['chr']
if ('lod_score' in marker.keys()) or ('lrs_value' in marker.keys()):
if 'Mb' in marker.keys():
- marker['display_pos'] = "Chr" + str(marker['chr']) + ": " + "{:.3f}".format(marker['Mb'])
+ marker['display_pos'] = "Chr" + str(marker['chr']) + ": " + "{:.6f}".format(marker['Mb'])
elif 'cM' in marker.keys():
marker['display_pos'] = "Chr" + str(marker['chr']) + ": " + "{:.3f}".format(marker['cM'])
else: