aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index 6254b9b9..ead509d7 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -2580,6 +2580,8 @@ class DisplayMappingResults:
if self.selectedChr != -1 and qtlresult['Mb'] > endMb:
Xc = startPosX + endMb * plotXScale
else:
+ if qtlresult['Mb'] - startMb < 0:
+ continue
Xc = startPosX + (qtlresult['Mb'] - startMb) * plotXScale
# updated by NL 06-18-2011: