aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index d4b8a8dd..3943a401 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -44,7 +44,7 @@ from utility import helper_functions
from utility import Plot
from utility.benchmark import Bench
from wqflask.interval_analyst import GeneUtil
-from base.webqtlConfig import TMPDIR, GENERATED_TEXT_DIR, GENERATED_IMAGE_DIR
+from base.webqtlConfig import GENERATED_TEXT_DIR, GENERATED_IMAGE_DIR
from utility.pillow_utils import draw_rotated_text, draw_open_polygon
import utility.logger
@@ -1385,6 +1385,8 @@ class DisplayMappingResults(object):
#Initializing plotRight, error before
plotRight = xRightOffset
+ im_drawer = ImageDraw.Draw(canvas)
+
#### find out PlotRight
for _chr in self.genotype:
if _chr.name == self.ChrList[self.selectedChr][0]: