diff options
author | Munyoki Kilyungi | 2022-09-07 11:00:41 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | 09cc368920182681cad74a908414e59632db6bbd (patch) | |
tree | 4705eba9e18c7f30543be4589f681ae9a78fdd04 /wqflask/utility/__init__.py | |
parent | a98a4059db43786a5d81510856e4f198f718de32 (diff) | |
download | genenetwork2-09cc368920182681cad74a908414e59632db6bbd.tar.gz |
Fix sql queries
"%s" should only be used outside table names and column names
otherwise a string literal will be inserted thereby leading to errors
in the sql statements.
* wqflask/base/data_set.py (geno_mrna_confidentiality): Use f-strings
for table/columns/clause.
* wqflask/base/trait.py (retrieve_trait_info): Ditto.
* wqflask/wqflask/gsearch.py (GSearch.__init__): Ditto.
* wqflask/wqflask/interval_analyst/GeneUtil.py (loadGenes): Ditto.
* wqflask/wqflask/snp_browser/snp_browser.py
(SnpBrowser.get_browser_results): Ditto.
Diffstat (limited to 'wqflask/utility/__init__.py')
0 files changed, 0 insertions, 0 deletions