aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index 912beabe..2fd525a5 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -24,7 +24,6 @@ from basicStatistics import BasicStatisticsFunctions
from pprint import pformat as pf
from utility.tools import flat_files
-MAPPING_PATH = flat_files("mapping")
from utility.logger import getLogger
logger = getLogger(__name__ )
@@ -163,6 +162,7 @@ class ShowTrait(object):
def get_mapping_methods(self):
'''Only display mapping methods when the dataset group's genotype file exists'''
def check_plink_gemma():
+ MAPPING_PATH = flat_files("mapping")
if (os.path.isfile(MAPPING_PATH+"/"+self.dataset.group.name+".bed") and
os.path.isfile(MAPPING_PATH+"/"+self.dataset.group.name+".map")):
return True