aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/base/data_set.py2
-rw-r--r--wqflask/utility/tools.py3
-rw-r--r--wqflask/wqflask/views.py5
3 files changed, 1 insertions, 9 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 49ece9dd..af248659 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -429,8 +429,6 @@ class DatasetGroup:
if result is not None:
self.samplelist = json.loads(result)
else:
- logger.debug("Cache not hit")
-
genotype_fn = locate_ignore_error(self.name + ".geno", 'genotype')
if genotype_fn:
self.samplelist = get_group_samplelists.get_samplelist(
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index f28961ec..db0b4320 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -194,7 +194,6 @@ def locate(name, subdir=None):
if valid_path(base):
lookfor = base + "/" + name
if valid_file(lookfor):
- logger.info("Found: file " + lookfor + "\n")
return lookfor
else:
raise Exception("Can not locate " + lookfor)
@@ -220,9 +219,7 @@ def locate_ignore_error(name, subdir=None):
if valid_path(base):
lookfor = base + "/" + name
if valid_file(lookfor):
- logger.debug("Found: file " + name + "\n")
return lookfor
- logger.info("WARNING: file " + name + " not found\n")
return None
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 55d9ebbe..23b4e07a 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -398,12 +398,9 @@ def create_temp_trait():
@app.route('/export_trait_excel', methods=('POST',))
def export_trait_excel():
"""Excel file consisting of the sample data from the trait data and analysis page"""
- logger.info("In export_trait_excel")
- logger.info("request.form:", request.form)
- logger.info(request.url)
trait_name, sample_data = export_trait_data.export_sample_table(
request.form)
-
+ app.logger.info(request.url)
logger.info("sample_data - type: %s -- size: %s" %
(type(sample_data), len(sample_data)))