aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-11-24 13:00:49 +0300
committerBonfaceKilz2021-11-25 21:08:54 +0300
commit8a7894182a6b4d6a47f6a677c304d2a2256ca154 (patch)
tree93fb9eb0d2ac893c45580d5853f4c639c6c85c50 /wqflask
parent16116373899b44e0f0a3894f1f2e5b7f60a5d498 (diff)
downloadgenenetwork2-8a7894182a6b4d6a47f6a677c304d2a2256ca154.tar.gz
Delete noisy logging
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)))