aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
AgeCommit message (Collapse)Author
2021-06-07db: test_db: Add extra variable in test data for "id"BonfaceKilz
2021-06-07Rename json_data column to json_diff_dataBonfaceKilz
2021-06-07tests: test_db: Add a test-case for fetchallBonfaceKilz
2021-06-07tests: test_db: Rename TestPhenotypeBonfaceKilz
2021-06-07tests: test_phenotype: Rename to test_dbBonfaceKilz
2021-06-03Use prepared statements for FETCH sql functionBonfaceKilz
2021-06-03Use prepared statements for UPDATE sql functionBonfaceKilz
2021-06-03tests: test_audit: Update test case to check for prepared statementsBonfaceKilz
2021-06-03Add data structures for the table metadata_auditBonfaceKilz
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-05-30fix index error (#16)Alexander Kabui
2021-05-26Move the methods, "update" and "fetch", to gn3.dbBonfaceKilz
2021-05-20tests: test_phenotype: Add function that tests "fetchone"BonfaceKilz
2021-05-20db: phenotypes: Update failing testsBonfaceKilz
2021-05-20tests: test_phenotypes: New test cases for loading phenotypesBonfaceKilz
2021-05-15Merge branch 'main' into feature/minor-fixesAlexander Kabui
2021-05-15index lit tuple resultAlexander Kabui
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...
2021-05-12delete unused functionsAlexander Kabui
2021-05-12rename lit_correlation_for_trait_list to lit_correlation_for_traitAlexander Kabui
2021-05-12rename tissue_correlation_for_trait_list with tissue_correlation_for_traitAlexander Kabui
2021-05-12rename p_val ro tissue_p_value for tissue_resultsAlexander Kabui
2021-05-10tests: test_species: Add test for `get_all_species`BonfaceKilz
2021-05-08Fix typoBonfaceKilz
2021-05-08tests: test_species: New testsBonfaceKilz
2021-05-08Add extra procedure for parsing a genotype fileBonfaceKilz
* gn3/computations/parsers.py (parse_genofile): New procedure. * tests/unit/computations/test_parsers.py: New test files for above.
2021-05-08Add extra genotype test fileBonfaceKilz
* tests/unit/test_data/genotype.txt: New file. * tests/unit/test_file_utils.py: Update failing test.
2021-05-03minor fixes for tiss correlation tests and namingAlexander Kabui
2021-05-03replace database with connAlexander Kabui
2021-05-02delete dataset and trait filesAlexander Kabui
2021-04-18refactor:return trait_name in corr_resultsAlexander Kabui
2021-04-17ad pep8 formattingAlexander Kabui
2021-04-17refactor tests for litAlexander Kabui
2021-04-15optimization for sample correlationAlexander Kabui
2021-04-12fix tests for lit correlationAlexander Kabui
2021-04-12fix merge conflictAlexander Kabui
2021-04-12Integrate correlation APIAlexander Kabui
- add new api for gn2-gn3 sample r integration - delete map for sample list to values - add db util file - add python msql-client dependency - add db for fetching lit correlation results - add unittests for db utils - add tests for db_utils - modify api for fetching lit correlation results - refactor Mock Database Connector and unittests - add sql url parser - add SQL URI env variable - refactor code for db utils - modify return data for lit correlation - refactor tissue correlation endpoint - replace db_instance with conn
2021-04-06fix DocstringsAlexander Kabui
2021-04-06delete unnecessary functions and commentsAlexander Kabui
2021-04-05fix for fetching dataset traits dataAlexander Kabui
2021-04-04refactor code for trait dataAlexander Kabui
modify unittest and integration tests for datasets
2021-04-03add tests for getting trait dataAlexander Kabui
2021-03-31add fetch dataset strain id,strain name and unittestsAlexander Kabui
2021-03-31add datasets functions and endpointsAlexander Kabui
2021-03-30refactor retrieve trait sample data and testsAlexander Kabui
2021-03-30modify getting sample data from dbAlexander Kabui
2021-03-30initial commit for creating datasetAlexander Kabui
2021-03-30initial commit for creating trait and datasetsAlexander Kabui
2021-03-23Convert Path object to a strBonfaceKilz
* gn3/file_utils.py (cache_ipfs_file): Return a str instead of a path object. * tests/unit/test_file_utils.py: Update failing tests.