aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2019-09-20 13:14:21 -0500
committerzsloan2019-09-20 13:14:21 -0500
commit9151fcb17c8d72e36bb11296e123d6d107410dc2 (patch)
tree23a097b5f71b62c8e61c6af69aef553ecae5edb9
parent78d3086c3978525065d91c0e02f2c2e0583f8705 (diff)
downloadgenenetwork2-9151fcb17c8d72e36bb11296e123d6d107410dc2.tar.gz
Fixed issue where remapping or zooming in didn't work for temp/PCA traits
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index 2834f1c3..ef0cfdc5 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -159,6 +159,10 @@ class DisplayMappingResults(object):
if 'first_run' in start_vars:
self.first_run = start_vars['first_run']
+ if 'temp_trait' in start_vars:
+ self.temp_trait = "True"
+ self.group = start_vars['group']
+
#Needing for form submission when doing single chr mapping or remapping after changing options
self.samples = start_vars['samples']
self.vals = start_vars['vals']
@@ -2074,8 +2078,8 @@ class DisplayMappingResults(object):
else:
perm_output = self.perm_output
- Plot.plotBar(myCanvas, perm_output, XLabel=self.LRS_LOD, YLabel='Frequency', title=' Histogram of Permutation Test')
filename= webqtlUtil.genRandStr("Reg_")
+ Plot.plotBar(myCanvas, perm_output, XLabel=self.LRS_LOD, YLabel='Frequency', title=' Histogram of Permutation Test')
myCanvas.save(GENERATED_IMAGE_DIR+filename, format='gif')
return filename