aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask
diff options
context:
space:
mode:
authorZachary Sloan2013-06-26 21:35:07 +0000
committerZachary Sloan2013-06-26 21:35:07 +0000
commit6fbbfe5e8bcc3b57c4177687bbf67bf041da3cba (patch)
tree80b2b5252f3bfb42a8f01e2df2c27a5a21cbbb7b /wqflask/wqflask
parentd703c6e456334187a279c04e9b4cf6a8e5099785 (diff)
downloadgenenetwork2-6fbbfe5e8bcc3b57c4177687bbf67bf041da3cba.tar.gz
Got code that creates DataSets object running
Fixed one genofile that had extra quotation marks in the comments that caused an error Defaults mb_graph_interval to 1 for species without chromosome lengths in megabases
Diffstat (limited to 'wqflask/wqflask')
-rw-r--r--wqflask/wqflask/search_results.py2
-rw-r--r--wqflask/wqflask/views.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/wqflask/wqflask/search_results.py b/wqflask/wqflask/search_results.py
index f76af374..504a67ce 100644
--- a/wqflask/wqflask/search_results.py
+++ b/wqflask/wqflask/search_results.py
@@ -162,8 +162,6 @@ class SearchResultPage(object):
import redis
Redis = redis.Redis()
-
-
#def get_group_species_tree(self):
# self.species_groups = collections.default_dict(list)
# for key in self.results:
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index fcb34d31..e48506ab 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -54,7 +54,8 @@ def connect_db():
@app.route("/")
def index_page():
print("Sending index_page")
- ds = DataSets()
+ with Bench("Creating DataSets object"):
+ ds = DataSets()
print("[orange] ds:", ds.datasets)
return render_template("index_page.html")