From ad9bb031501c704464e3c621945e80991edaa96b Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 12 Aug 2022 15:08:17 +0000 Subject: Remove unnecessary if statement from drawHomologyBand --- wqflask/wqflask/marker_regression/display_mapping_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index af63713f..0c14eccb 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -1374,7 +1374,7 @@ class DisplayMappingResults: if (geneEndPix < xLeftOffset): return # this gene is not on the screen - elif (geneEndPix > xLeftOffset + plotWidth): + if (geneEndPix > xLeftOffset + plotWidth): geneEndPix = xLeftOffset + plotWidth # clip the last in-range gene if (geneStartPix > xLeftOffset + plotWidth): return # we are outside the valid on-screen range, so stop drawing genes -- cgit v1.2.3