From 7e4ac66bf55f222f87174178e0348e9c40a05b56 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 4 Aug 2022 22:04:35 +0000 Subject: Add homology band option to run_mapping.py --- wqflask/wqflask/marker_regression/run_mapping.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wqflask/wqflask/marker_regression/run_mapping.py b/wqflask/wqflask/marker_regression/run_mapping.py index 8ca1faf5..b75774b2 100644 --- a/wqflask/wqflask/marker_regression/run_mapping.py +++ b/wqflask/wqflask/marker_regression/run_mapping.py @@ -152,7 +152,7 @@ class RunMapping: self.lrsMax = start_vars['lrsMax'] if "haplotypeAnalystCheck" in start_vars: self.haplotypeAnalystCheck = start_vars['haplotypeAnalystCheck'] - if "startMb" in start_vars: # ZS: This is to ensure showGenes, Legend, etc are checked the first time you open the mapping page, since startMb will only not be set during the first load + if "startMb" in start_vars: # This is to ensure showGenes, Legend, etc are checked the first time you open the mapping page, since startMb will only not be set during the first load if "permCheck" in start_vars: self.permCheck = "ON" else: @@ -166,6 +166,11 @@ class RunMapping: else: self.showSNP = False + if "showHomology" in start_vars: + self.showHomology = start_vars['showHomology'] + else: + self.showHomology = False + if "showGenes" in start_vars: self.showGenes = start_vars['showGenes'] else: -- cgit v1.2.3