diff options
author | Pjotr Prins | 2016-11-21 14:26:38 +0100 |
---|---|---|
committer | GitHub | 2016-11-21 14:26:38 +0100 |
commit | 45c7ffe78337e0ef051ee96a751d4ee8cf809acb (patch) | |
tree | 12791ce696037d576c7adb9bc3412123a741f42a /wqflask/base | |
parent | e6528ba528d14320322bcf9694c52879dedc418b (diff) | |
parent | 1cae8e42f0f73718549b369cf0cd4d9f320e230e (diff) | |
download | genenetwork2-45c7ffe78337e0ef051ee96a751d4ee8cf809acb.tar.gz |
Merge pull request #235 from lyan6/master
Thanks. Fix sql error: (GeneNetwork error: (_mysql_exceptions.OperationalErro…
Diffstat (limited to 'wqflask/base')
-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 918932fa..ae7fdcb5 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -724,8 +724,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) |