diff options
author | zsloan | 2022-03-31 16:07:15 +0000 |
---|---|---|
committer | zsloan | 2022-03-31 16:07:15 +0000 |
commit | 850844cd69db321553d52c91bc81b2433b72d824 (patch) | |
tree | 9afc5d6cbaa82d2c2bb82d987bc140fd42e92406 /wqflask | |
parent | d6f628fed79f63951e2b3c1c30606d0517b8fb33 (diff) | |
download | genenetwork2-850844cd69db321553d52c91bc81b2433b72d824.tar.gz |
Add another check for >1 markers on a chromosome for interval mapping
There were two places this needed to be checked and I previously missed
this one
Diffstat (limited to 'wqflask')
-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 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) |