aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py2
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 034c352b..2c7bba46 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -2470,7 +2470,7 @@ class DisplayMappingResults:
m = 0
thisLRSColor = self.colorCollection[0]
if qtlresult['chr'] != previous_chr and self.selectedChr == -1:
- if self.manhattan_plot != True:
+ if self.manhattan_plot != True and len(LRSCoordXY) > 1:
draw_open_polygon(canvas, xy=LRSCoordXY,
outline=thisLRSColor, width=lrsEdgeWidth)