diff options
author | Munyoki Kilyungi | 2022-09-01 16:29:19 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | 026ceff5ea71f07f32db88e01fadfe38dbc39c75 (patch) | |
tree | d9aeea01d7b8eef8300599f5460af91c847127a9 /doc/joss/2016/qtl2.png | |
parent | f20213ac7f9f37b0fed97e670db5de904efeb920 (diff) | |
download | genenetwork2-026ceff5ea71f07f32db88e01fadfe38dbc39c75.tar.gz |
Replace g.db with database_connection() context manager
* wqflask/wqflask/update_search_results.py: Replace "Flask" and "g"
import with "database_connection".
(GSearch.__init__): Reformat SQL. Rename "re" to "results" since "re"
is part of the stdlib.
* wqflask/wqflask/marker_regression/rqtl_mapping.py: Replace flask.g
with database_connection.
(write_covarstruct_file): Replace g.db with database_connection().
* wqflask/wqflask/search_results.py: Replace "Flask" and "g" imports
with "database_connection" import.
(trait_info_str): Replace g.db with database_connection.
* wqflask/wqflask/docs.py (Docs): Use dababase_connection() context
manager.
(update_text): Ditto.
* wqflask/wqflask/marker_regression/display_mapping_results.py:
Replace "Flask" and "g" import with "database_connection".
(DisplayMappingResults.__init__): Use database_connection.
(DisplayMappingResults.drawSNPTrackNew): Ditto.
Diffstat (limited to 'doc/joss/2016/qtl2.png')
0 files changed, 0 insertions, 0 deletions