aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorZachary Sloan2012-12-06 14:27:53 -0600
committerZachary Sloan2012-12-06 14:27:53 -0600
commit6749d3c9be414ad15b9c39b2d1817ca27566d959 (patch)
treeba7501fd2a6de45f52319927e634c150342d940b /wqflask/base/trait.py
parenta7cc1119ebfbfab3ba5260be75c87cd4496f09b7 (diff)
downloadgenenetwork2-6749d3c9be414ad15b9c39b2d1817ca27566d959.tar.gz
Made many small changes to show_trait/data_set/search_results/trait to
remove use of the formData object and cursor
Diffstat (limited to 'wqflask/base/trait.py')
-rwxr-xr-xwqflask/base/trait.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index d3753fc1..d0158ebd 100755
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -24,7 +24,7 @@ class GeneralTrait:
def __init__(self, **kw):
print("in GeneralTrait")
- self.dataset = kw.get('dataset', None) # database object
+ self.dataset = kw.get('dataset', None) # database name
self.name = kw.get('name', None) # Trait ID, ProbeSet ID, Published ID, etc.
self.cellid = kw.get('cellid', None)
self.identification = kw.get('identification', 'un-named trait')
@@ -230,7 +230,7 @@ class GeneralTrait:
if samplelist == None:
samplelist = []
- assert self.dataset
+ #assert self.dataset
#if self.cellid:
# #Probe Data