diff options
author | zsloan | 2020-11-12 13:33:52 -0600 |
---|---|---|
committer | zsloan | 2020-11-12 13:33:52 -0600 |
commit | 6feb7dd0f8020c7ed54b70be6a15c099dc62b490 (patch) | |
tree | 032b844df6c1a85c826de4908b6407e714a3f9db /wqflask | |
parent | cd01afec0bbe28bfcd1982cbf03c056a856b1d13 (diff) | |
download | genenetwork2-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.py | 2 |
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: |