aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-07 11:00:41 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commit09cc368920182681cad74a908414e59632db6bbd (patch)
tree4705eba9e18c7f30543be4589f681ae9a78fdd04 /wqflask/maintenance
parenta98a4059db43786a5d81510856e4f198f718de32 (diff)
downloadgenenetwork2-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/maintenance')
0 files changed, 0 insertions, 0 deletions