diff options
author | zsloan | 2021-08-25 17:39:16 +0000 |
---|---|---|
committer | zsloan | 2021-08-25 17:39:16 +0000 |
commit | ae634a36891ddba9748e0f75ff1cf51e95e4a8a7 (patch) | |
tree | 2e94a9cd56d13c43330173e0f3d349c8f2a9340a | |
parent | 3fd1d766fcf38f5a147c01b1c397469139c9080d (diff) | |
download | genenetwork2-ae634a36891ddba9748e0f75ff1cf51e95e4a8a7.tar.gz |
Fix issue that could cause an error when doing cM mapping
-rw-r--r-- | wqflask/wqflask/marker_regression/display_mapping_results.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index f941267e..3986c441 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -2113,7 +2113,7 @@ class DisplayMappingResults: thisChr.append( [_locus.name, _locus.cM - Locus0CM]) else: - for j in (0, nLoci / 4, nLoci / 2, nLoci * 3 / 4, -1): + for j in (0, round(nLoci / 4), round(nLoci / 2), round(nLoci * 3 / 4), -1): while _chr[j].name == ' - ': j += 1 if _chr[j].cM != preLpos: |