diff options
author | zsloan | 2022-03-24 20:02:59 +0000 |
---|---|---|
committer | zsloan | 2022-03-24 20:02:59 +0000 |
commit | 1964871492efdb09b0c85861fb4d9018acdfb7e6 (patch) | |
tree | f0263e098d4e59602550eac02c2a572f50543efc /wqflask | |
parent | 753f7da6a468606aa672235c839054e3b913ac83 (diff) | |
download | genenetwork2-1964871492efdb09b0c85861fb4d9018acdfb7e6.tar.gz |
Check if there's only one coordinate for interval mapping
This is meant to deal with edge cases where there's only a single coordinate for a chromosome when doing interval mapping (which causes an error, since interval mapping requires that markers be linked within each chromosome)
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 920a8d30..034c352b 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -2637,7 +2637,7 @@ class DisplayMappingResults: break m += 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) |