about summary refs log tree commit diff
diff options
context:
space:
mode:
-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