diff options
author | Munyoki Kilyungi | 2022-09-07 11:47:26 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | b6fadcc7e8de9d7041f2bb00dcd1ada518a1932c (patch) | |
tree | cc0199f48307568ee2bdab16d7ec0c8774fda50e /RELEASE-NOTES.md | |
parent | f879f82ad0393a770ed50043c70ee1dd4a12daaa (diff) | |
download | genenetwork2-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 'RELEASE-NOTES.md')
0 files changed, 0 insertions, 0 deletions