aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-08-12 15:08:17 +0000
committerzsloan2022-12-21 13:04:07 -0600
commitad9bb031501c704464e3c621945e80991edaa96b (patch)
treed215c3a97ccbeb6b70c72bc4b055b00a8022558d /wqflask
parentf5228277166c89dc21d61676cf9d7ecdd86a1c1b (diff)
downloadgenenetwork2-ad9bb031501c704464e3c621945e80991edaa96b.tar.gz
Remove unnecessary if statement from drawHomologyBand
Diffstat (limited to 'wqflask')
-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 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