aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorBonfaceKilz2021-05-04 23:35:38 +0300
committerBonfaceKilz2021-05-05 12:26:04 +0300
commit151cbec41a9466f8f716f24ae85c7a5b09919e01 (patch)
tree88fc55ca611827a6c3821011bcc3dfc1bc77eb03 /wqflask/base
parent453455b8bc6557c35ad279a208235f0b44aa251e (diff)
downloadgenenetwork2-151cbec41a9466f8f716f24ae85c7a5b09919e01.tar.gz
base: trait: Remove logging information
The log adds unnecessary noise in addition to creating unwanted side-effects.
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/species.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/wqflask/base/species.py b/wqflask/base/species.py
index 3865f450..ce646538 100644
--- a/wqflask/base/species.py
+++ b/wqflask/base/species.py
@@ -5,10 +5,6 @@ from typing import Optional, Dict
from flask import g
-from utility.logger import getLogger
-logger = getLogger(__name__)
-
-
@dataclass
class TheSpecies:
"""Data related to species."""
@@ -54,7 +50,6 @@ class Chromosomes:
"Chr_Length.SpeciesId = InbredSet.SpeciesId AND "
"InbredSet.Name = "
"'%s' ORDER BY OrderId" % self.dataset.group.name)
- logger.sql(query)
results = g.db.execute(query).fetchall()
for item in results:
self.chromosomes[item.OrderId] = IndChromosome(