aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2015-07-09 16:16:48 +0000
committerzsloan2015-07-09 16:16:48 +0000
commit25b1d4c4aad2d44e0ff6bfa5aade1783b7a63120 (patch)
treea2ec96700726a3821f637a44602a68ca6f85027b /wqflask
parent7a50dd90fa854834b47ee4d19340cd500514a6a8 (diff)
downloadgenenetwork2-25b1d4c4aad2d44e0ff6bfa5aade1783b7a63120.tar.gz
Some phenotype searches were throwing an error due to an assert statement in trait.py. Since I couldn't find the purpose of the assert statement I removed it.
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/base/trait.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 4a088bc8..ff80795c 100755
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -291,8 +291,7 @@ class GeneralTrait(object):
PublishFreeze.Id = %s
""" % (self.name, self.dataset.id)
- print("query is:", query)
- assert self.name.isdigit()
+ print("query is:", query)
trait_info = g.db.execute(query).fetchone()
#XZ, 05/08/2009: Xiaodong add this block to use ProbeSet.Id to find the probeset instead of just using ProbeSet.Name