Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-12 | Check db resultset before indexing into it | Frederick Muriuki Muriithi | |
The assumption that the resultset will never be empty was leading to a lot of errors. | |||
2022-08-31 | Replace fetchall, fetchone, fetch1 with database_connection | Munyoki Kilyungi | |
* 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. | |||
2021-05-26 | db: webqtlDatabaseFunction: Remove comment | BonfaceKilz | |
2021-05-26 | db: webqtlDatabaseFunction: Remove logger info | BonfaceKilz | |
2021-04-30 | autopep8: Fix E501 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E301,E302,E303,E304,E305,E306 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E20-E27 | BonfaceKilz | |
Run: python -m autopep8 --in-place --recrusive ./ --select\ E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,\ E242,E251,E252,E26,E265,E266,E27 -p 3 | |||
2020-08-19 | Remove extra whitespace(or add it) from comma separated items | BonfaceKilz | |
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib> | |||
2018-04-18 | Removed a little more code in webqtlDatabaseFunction.py and do_search | zsloan | |
2016-06-26 | gn_server: introduced one new query to fetch a dataset record and force ↵ | Pjotr Prins | |
fetch1 to return a tuple | |||
2016-06-23 | Remove headers | Pjotr Prins | |
2016-06-23 | Added REST call for species_id | Pjotr Prins | |
2016-06-23 | Removed unused functions | Pjotr Prins | |
2016-06-23 | DB: created fetch1 function which can do both SQL and GN_SERVER | Pjotr Prins | |
2016-06-23 | Backend: moved methods into call module | Pjotr Prins | |
2016-06-23 | Refactored dir name dbFunction to db | Pjotr Prins | |