aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wsgi.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-07 11:47:26 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commitb6fadcc7e8de9d7041f2bb00dcd1ada518a1932c (patch)
treecc0199f48307568ee2bdab16d7ec0c8774fda50e /wqflask/wsgi.py
parentf879f82ad0393a770ed50043c70ee1dd4a12daaa (diff)
downloadgenenetwork2-b6fadcc7e8de9d7041f2bb00dcd1ada518a1932c.tar.gz
Inject database connection to mrna_assay_tissue_data class
* wqflask/base/mrna_assay_tissue_data.py: Imports: Delete database_connection, escape, and database_connector. (MrnaAssayTissueData): Inject conn. Re-format queries. Rework 'if ... else' logic. Re-work how results are assigned to 'self.data[symbol]' - remove dot-notation. (MrnaAssayTissueData.get_symbol_values_pairs): Move box-comments to doc-string. Rework how results are assigned to 'symbol_values_dict' - remove dot-notation. * wqflask/tests/unit/base/test_mrna_assay_tissue_data.py (test_mrna_assay_tissue_data_initialisation): New test. * wqflask/wqflask/correlation/correlation_functions.py: Import database_connection. (get_trait_symbol_and_tissue_values): Inject conn object.
Diffstat (limited to 'wqflask/wsgi.py')
0 files changed, 0 insertions, 0 deletions