diff options
author | zsloan | 2017-01-26 13:43:10 -0600 |
---|---|---|
committer | GitHub | 2017-01-26 13:43:10 -0600 |
commit | 298ca525114a570794d4326613be54ec223dce8b (patch) | |
tree | 1e0c445912af7ccb273a25b858889048eb96f756 /wqflask/base/data_set.py | |
parent | e63c4014e7bc34b440707be19af3779b72102fdb (diff) | |
parent | 7ea8ee22074c297925335cc048777f0ce8cb3912 (diff) | |
download | genenetwork2-298ca525114a570794d4326613be54ec223dce8b.tar.gz |
Merge pull request #1 from genenetwork/testing
Various changes/fixes
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r-- | wqflask/base/data_set.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index 94b38e13..41c5d8ba 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -749,8 +749,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) |