aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask
diff options
context:
space:
mode:
authorLei Yan2016-03-03 10:47:23 -0600
committerLei Yan2016-03-03 10:47:23 -0600
commit33248222ef32ba96c8efc43e02d9988eb0d41cc0 (patch)
treef0c17ba8fe1a7daa15df381b3694fd37e316457b /wqflask/wqflask
parente75b1a63047549685c38471ae2294996ad52af16 (diff)
downloadgenenetwork2-33248222ef32ba96c8efc43e02d9988eb0d41cc0.tar.gz
Update gsearch.py
Diffstat (limited to 'wqflask/wqflask')
-rwxr-xr-xwqflask/wqflask/gsearch.py4
1 files changed, 2 insertions, 2 deletions
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 = []