diff options
author | Munyoki Kilyungi | 2022-08-30 21:39:38 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-08-31 23:14:30 +0300 |
commit | d9a6e9433e4fd5cc20ed45a53c34cab4357eac8e (patch) | |
tree | ddef02f3325e32119d8f72addd3930304d5d7fc6 /wqflask/maintenance/gen_ind_genofiles.py | |
parent | 2d9ad72cf8078610fc2cff8726e68a40dcf64685 (diff) | |
download | genenetwork2-d9a6e9433e4fd5cc20ed45a53c34cab4357eac8e.tar.gz |
Replace fetchall, fetchone, fetch1 with database_connection
* wqflask/base/data_set.py: Replace "db.call" import with
"database_connection".
(create_datasets_list): Use "database_connection" to fetch data.
(DatasetGroup.__init__): Ditto.
(DataSet.retrieve_other_names): Ditto.
(PhenotypeDataSet.setup): Remove query escaping in string and format
the string.
(GenotypeDataSet.setup): Ditto.
(MrnaAssayDataSet.setup): Ditto.
* wqflask/db/webqtlDatabaseFunction.py: Remove db.call import.
(retrieve_species): Use database_connection() to fetch data.
(retrieve_species_id): Ditto.
Diffstat (limited to 'wqflask/maintenance/gen_ind_genofiles.py')
0 files changed, 0 insertions, 0 deletions