diff options
author | zsloan | 2019-09-20 13:14:21 -0500 |
---|---|---|
committer | zsloan | 2019-09-20 13:14:21 -0500 |
commit | 9151fcb17c8d72e36bb11296e123d6d107410dc2 (patch) | |
tree | 23a097b5f71b62c8e61c6af69aef553ecae5edb9 /wqflask | |
parent | 78d3086c3978525065d91c0e02f2c2e0583f8705 (diff) | |
download | genenetwork2-9151fcb17c8d72e36bb11296e123d6d107410dc2.tar.gz |
Fixed issue where remapping or zooming in didn't work for temp/PCA traits
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/marker_regression/display_mapping_results.py | 6 |
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 |