diff options
Diffstat (limited to 'gn2/wqflask/marker_regression')
-rw-r--r-- | gn2/wqflask/marker_regression/display_mapping_results.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gn2/wqflask/marker_regression/display_mapping_results.py b/gn2/wqflask/marker_regression/display_mapping_results.py index dec414c0..74c10a53 100644 --- a/gn2/wqflask/marker_regression/display_mapping_results.py +++ b/gn2/wqflask/marker_regression/display_mapping_results.py @@ -773,8 +773,9 @@ class DisplayMappingResults: pass # draw position, no need to use a separate function - self.drawProbeSetPosition( - canvas, plotXScale, offset=newoffset, zoom=zoom) + if self.traitList[0].mb: # Only draw if position actually exists + self.drawProbeSetPosition( + canvas, plotXScale, offset=newoffset, zoom=zoom) return gifmap |