diff options
author | zsloan | 2022-08-12 15:08:17 +0000 |
---|---|---|
committer | zsloan | 2022-12-21 13:04:07 -0600 |
commit | ad9bb031501c704464e3c621945e80991edaa96b (patch) | |
tree | d215c3a97ccbeb6b70c72bc4b055b00a8022558d | |
parent | f5228277166c89dc21d61676cf9d7ecdd86a1c1b (diff) | |
download | genenetwork2-ad9bb031501c704464e3c621945e80991edaa96b.tar.gz |
Remove unnecessary if statement from drawHomologyBand
-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 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 |