diff options
author | Lei Yan | 2016-03-03 10:47:23 -0600 |
---|---|---|
committer | Lei Yan | 2016-03-03 10:47:23 -0600 |
commit | 33248222ef32ba96c8efc43e02d9988eb0d41cc0 (patch) | |
tree | f0c17ba8fe1a7daa15df381b3694fd37e316457b | |
parent | e75b1a63047549685c38471ae2294996ad52af16 (diff) | |
download | genenetwork2-33248222ef32ba96c8efc43e02d9988eb0d41cc0.tar.gz |
Update gsearch.py
-rwxr-xr-x | wqflask/wqflask/gsearch.py | 4 |
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 = [] |