aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2017-02-06 20:02:36 +0000
committerzsloan2017-02-06 20:02:36 +0000
commit3f245a43dc1ec4258e952b575c4f0e3c4e3f7985 (patch)
tree61a671d316e11ce587d635e8d1e563272428d524 /wqflask/base
parentf2e3407585862581b82680e8521b1e4d944f558a (diff)
parent298ca525114a570794d4326613be54ec223dce8b (diff)
downloadgenenetwork2-3f245a43dc1ec4258e952b575c4f0e3c4e3f7985.tar.gz
Merge branch 'master' of github.com:zsloan/genenetwork2
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 30c8e996..02b5e07c 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -766,8 +766,8 @@ class PhenotypeDataSet(DataSet):
if this_trait.lrs:
query = """
select Geno.Chr, Geno.Mb from Geno, Species
- where Species.Name = %s and
- Geno.Name = %s and
+ where Species.Name = '%s' and
+ Geno.Name = '%s' and
Geno.SpeciesId = Species.Id
""" % (species, this_trait.locus)
logger.sql(query)