aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-08-30 20:23:42 +0000
committerzsloan2022-08-30 20:23:42 +0000
commit33fd250d57fd8fa68a6241aa8c0ab3e477a7a515 (patch)
tree91cb79e7c373a61b41eaab70be53f11c8342a121
parent8a9af09df608c0afeb11c18eee8e5dba43e091e6 (diff)
downloadgenenetwork2-33fd250d57fd8fa68a6241aa8c0ab3e477a7a515.tar.gz
Remove logging and unused imports from api/mapping.py
-rw-r--r--wqflask/wqflask/api/mapping.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/wqflask/wqflask/api/mapping.py b/wqflask/wqflask/api/mapping.py
index 5ffcbd55..25643b4e 100644
--- a/wqflask/wqflask/api/mapping.py
+++ b/wqflask/wqflask/api/mapping.py
@@ -1,15 +1,7 @@
-import string
-
from base import data_set
-from base import webqtlConfig
from base.trait import create_trait, retrieve_sample_data
-from utility import helper_functions
-from wqflask.marker_regression import gemma_mapping, rqtl_mapping, qtlreaper_mapping, plink_mapping
-
-import utility.logger
-logger = utility.logger.getLogger(__name__)
-
+from wqflask.marker_regression import gemma_mapping, rqtl_mapping
def do_mapping_for_api(start_vars):
assert('db' in start_vars)
@@ -30,8 +22,6 @@ def do_mapping_for_api(start_vars):
dataset.group.genofile = mapping_params['genofile']
genofile_samplelist = get_genofile_samplelist(dataset)
- logger.debug("SAMPLES:", genofile_samplelist)
-
if (len(genofile_samplelist) > 0):
for sample in genofile_samplelist:
in_trait_data = False