aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorzsloan2016-06-24 16:14:33 +0000
committerzsloan2016-06-24 16:14:33 +0000
commit9b25ba56288d8a3b405392854836608ac3741985 (patch)
treeca7e7d6b3a7348d914e47d11d208e0a0cca7312a /wqflask/base/trait.py
parentff300e422ab9c3bd2288d08a3de4a9f4c3beb1ba (diff)
downloadgenenetwork2-9b25ba56288d8a3b405392854836608ac3741985.tar.gz
Removed function 'get_info' in trait.py that was never used and reomved 'get_trait_info' call from search_result_page.py because its query was already being run
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r--wqflask/base/trait.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index b51b8c72..4bce25ac 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -79,13 +79,7 @@ class GeneralTrait(object):
dataset=self.dataset.name,
description=self.description_display,
mean=self.mean)
-
-
- def get_info(self):
- """For lots of traits just use get_trait_info in dataset instead...that will be way
- more efficient"""
- self.dataset.get_trait_info([self],
- webqtlDatabaseFunction.retrieve_species(self.dataset.group.name))
+
def get_name(self):
stringy = ""