From 25b1d4c4aad2d44e0ff6bfa5aade1783b7a63120 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 9 Jul 2015 16:16:48 +0000 Subject: 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. --- wqflask/base/trait.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit 1.4.1