aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit/base/test_trait.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-08-30 21:39:38 +0300
committerBonfaceKilz2022-08-31 23:14:30 +0300
commitd9a6e9433e4fd5cc20ed45a53c34cab4357eac8e (patch)
treeddef02f3325e32119d8f72addd3930304d5d7fc6 /wqflask/tests/unit/base/test_trait.py
parent2d9ad72cf8078610fc2cff8726e68a40dcf64685 (diff)
downloadgenenetwork2-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/tests/unit/base/test_trait.py')
0 files changed, 0 insertions, 0 deletions