aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
authorZachary Sloan2013-01-03 15:54:53 -0600
committerZachary Sloan2013-01-03 15:54:53 -0600
commit25fccfb3447012c3f2a75e3f54520e700d801487 (patch)
tree8f9f0edd5897819e3d9d0277162436202d6cc7bd /wqflask/base/data_set.py
parent5b26284d86552491f57fc3a2477a2d97adcba9d7 (diff)
downloadgenenetwork2-25fccfb3447012c3f2a75e3f54520e700d801487.tar.gz
Created template for marek regression page and made the compute button direct
to it added asbolute_import in data_set.py and trait.py Made several minor changes and deleted commented out code in trait.py
Diffstat (limited to 'wqflask/base/data_set.py')
-rwxr-xr-xwqflask/base/data_set.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 612b9209..36d4acaf 100755
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -16,11 +16,11 @@
# Contact Drs. Robert W. Williams and Xiaodong Zhou (2010)
# at rwilliams@uthsc.edu and xzhou15@uthsc.edu
#
-#
+#we
#
# This module is used by GeneNetwork project (www.genenetwork.org)
-from __future__ import print_function, division
+from __future__ import absolute_import, print_function, division
import os
from flask import Flask, g
@@ -29,7 +29,7 @@ from htmlgen import HTMLgen2 as HT
import reaper
-import webqtlConfig
+from base import webqtlConfig
from base import species
from dbFunction import webqtlDatabaseFunction
from utility import webqtlUtil
@@ -50,6 +50,7 @@ def create_dataset(dataset_name):
WHERE DBList.Name = '%s' and
DBType.Id = DBList.DBTypeId
""" % (escape(dataset_name))
+ print("query is: ", pf(query))
dataset_type = g.db.execute(query).fetchone().Name
#dataset_type = cursor.fetchone()[0]