aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-07gn3: db: sort importsBonfaceKilz
2021-06-03gn3: db: Remove "escape_string" from importsBonfaceKilz
We use prepared statements, so no need to have this.
2021-06-03Use prepared statements for FETCH sql functionBonfaceKilz
2021-06-03gn3: db: Replace items() with keys()BonfaceKilz
* gn3/db/__init__.py (diff_from_dict): We only use the keys of the dict!
2021-06-03Use prepared statements for UPDATE sql functionBonfaceKilz
2021-06-03tests: test_audit: Update test case to check for prepared statementsBonfaceKilz
2021-06-03gn3: db: Add new function for doing sql INSERTBonfaceKilz
2021-06-03sql: Add a new folder that houses sql statements for new tablesBonfaceKilz
2021-06-03Add data structures for the table metadata_auditBonfaceKilz
2021-06-03gn3: db: Add spacing before around "AND" in sql clauseBonfaceKilz
2021-06-03unit: test_phenotypes: Test for multiple "WHERE" clausesBonfaceKilz
2021-06-03Get the diff between 2 dicts and return that as a dictBonfaceKilz
2021-06-03gn3: db: Return None if data and where are emptyBonfaceKilz
2021-05-30fix index error (#16)Alexander Kabui
2021-05-26Move the methods, "update" and "fetch", to gn3.dbBonfaceKilz
2021-05-26db: phenotypes: Fix publication_mappingBonfaceKilz
2021-05-26db: phenotypes: Fix typoBonfaceKilz
2021-05-20tests: test_phenotype: Add function that tests "fetchone"BonfaceKilz
2021-05-20db: phenotypes: Add function for fetching a single resultBonfaceKilz
* gn3/db/phenotypes.py (fetchone): New function.
2021-05-20db: phenotypes: Add a dataclass mapBonfaceKilz
Maps a string to it's dataclass.
2021-05-20db: phenotypes: Add Publication table mappingBonfaceKilz
2021-05-20db: phenotypes: Rename phenotype_column_mappingBonfaceKilz
2021-05-20db: phenotypes: Add Publication dataclass and mappingBonfaceKilz
2021-05-20db: phenotypes: Update failing testsBonfaceKilz
2021-05-20db: phenotypes: Generalise the update functionBonfaceKilz
* gn3/db/phenotypes.py (update_phenotype): Delete it. (update): New, more general function.
2021-05-20db: phenotypes: Map a table to it's relevant dict mappingBonfaceKilz
2021-05-20db: phenotypes: Add type for DataclassBonfaceKilz
See: https://www.py4u.net/discuss/188952
2021-05-20db: phenotypes: Put mapping def after dataclassBonfaceKilz
2021-05-20db: phenotypes: Add phenotype table mappingBonfaceKilz
2021-05-20db: phenotypes: Add dataclass to represent PublishXRefBonfaceKilz
2021-05-20db: phenotype: Make "pylint: disable=[R0902]" global for fileBonfaceKilz
2021-05-20tests: test_phenotypes: New test cases for loading phenotypesBonfaceKilz
2021-05-20db: phenotypes: Add a way of updating the Phenotype tableBonfaceKilz
* gn3/db/phenotypes.py (Phenotype): New dataclass. (update_phenotype): New function. [phenotype_column_mapping]: New variable.
2021-05-19Add r-optparse to guix.scmPjotr Prins
2021-05-19Added R and r-qtlPjotr Prins
2021-05-19More SQL optimization trialsPjotr Prins
2021-05-19Fix SQL queryPjotr Prins
2021-05-19SQL query gives different resultPjotr Prins
2021-05-19New SQL approachPjotr Prins
2021-05-18Slow SQL: add notePjotr Prins
2021-05-18Add original SQL queryPjotr Prins
2021-05-18Notes on SQL queryPjotr Prins
2021-05-17Merge pull request #11 from genenetwork/feature/minor-fixesBonfaceKilz
Feature/minor fixes
2021-05-15resolve merge conflictAlexander Kabui
2021-05-15Merge branch 'main' into feature/minor-fixesAlexander Kabui
2021-05-15index lit tuple resultAlexander Kabui
2021-05-14READMEPjotr Prins
2021-05-13tests: test_general: Add test case for run_r_qtl endpointBonfaceKilz
2021-05-13Add end-point for running an rQTL programBonfaceKilz
* gn3/api/general.py (run_r_qtl): New function. * gn3/settings.py: New variable.
2021-05-13Rename file_utils to fs_helpersBonfaceKilz
Generally avoid naming things with a "utils" prefix/ suffix since it encourages contributors to dump any new functions there; and over time, as the code grows, things get messy...