From 33248222ef32ba96c8efc43e02d9988eb0d41cc0 Mon Sep 17 00:00:00 2001 From: Lei Yan Date: Thu, 3 Mar 2016 10:47:23 -0600 Subject: Update gsearch.py --- wqflask/wqflask/gsearch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/gsearch.py b/wqflask/wqflask/gsearch.py index 2a8ba25c..a6efb47f 100755 --- a/wqflask/wqflask/gsearch.py +++ b/wqflask/wqflask/gsearch.py @@ -39,7 +39,7 @@ class GSearch(object): AND ProbeSetXRef.ProbeSetFreezeId=ProbeSetFreeze.Id AND ProbeSetFreeze.public > 0 ORDER BY species_name, inbredset_name, tissue_name, probesetfreeze_name, probeset_name - LIMIT 2000 + LIMIT 6000 """ % (self.terms) with Bench("Running query"): re = g.db.execute(sql).fetchall() @@ -85,7 +85,7 @@ class GSearch(object): OR Publication.Authors REGEXP "[[:<:]]%s[[:>:]]" OR PublishXRef.Id REGEXP "[[:<:]]%s[[:>:]]") ORDER BY Species.`Name`, InbredSet.`Name`, PublishXRef.`Id` - LIMIT 1000 + LIMIT 6000 """ % (self.terms, self.terms, self.terms, self.terms, self.terms, self.terms, self.terms, self.terms, self.terms, self.terms) re = g.db.execute(sql).fetchall() self.trait_list = [] -- cgit v1.2.3