aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
AgeCommit message (Collapse)Author
2021-06-29Add a diffing functionBonfaceKilz
For now the diff function uses the Linux tool "diff" to generate the diff since it is efficient and straightforward. * gn3/computations/diff.py (generate_diff): New function. * tests/unit/computations/test_diff.py: Test cases for ☝🏾.
2021-06-20merge mainAlexander Kabui
2021-06-20make requested changes to biweightAlexander Kabui
2021-06-18Fixed another error where test_generate_rqtl_command didn't include the ↵zsloan
filename argument (not sure why running unit tests locally doesn't detect this)
2021-06-18Fixed file type from json to csv for test_generate_rqtl_commandzsloan
2021-06-18Fixed test_rqtl.py to include Rscript in the commandzsloan
2021-06-18Fixed test_compose_rqtl_command test; forgot to include Rscript in the commandzsloan
2021-06-18Change test_compose_rqtl_command in test_commands.py to have different ↵zsloan
arguments to hopefully avoid github's pylint 'duplicate code' complaint Changed some parameters in test_compose_rqtl_cmd to avoid pylint complaining about duplicate code
2021-06-18db: test_db: Add extra variable in test data for "id"BonfaceKilz
2021-06-18Rename json_data column to json_diff_dataBonfaceKilz
2021-06-18tests: test_db: Add a test-case for fetchallBonfaceKilz
2021-06-18tests: test_db: Rename TestPhenotypeBonfaceKilz
2021-06-18tests: test_phenotype: Rename to test_dbBonfaceKilz
2021-06-18Use prepared statements for FETCH sql functionBonfaceKilz
2021-06-18Use prepared statements for UPDATE sql functionBonfaceKilz
2021-06-18tests: test_audit: Update test case to check for prepared statementsBonfaceKilz
2021-06-18Add data structures for the table metadata_auditBonfaceKilz
2021-06-18unit: test_phenotypes: Test for multiple "WHERE" clausesBonfaceKilz
2021-06-18Get the diff between 2 dicts and return that as a dictBonfaceKilz
2021-06-18fix index error (#16)Alexander Kabui
2021-06-18Move the methods, "update" and "fetch", to gn3.dbBonfaceKilz
2021-06-18tests: test_phenotype: Add function that tests "fetchone"BonfaceKilz
2021-06-18db: phenotypes: Update failing testsBonfaceKilz
2021-06-18tests: test_phenotypes: New test cases for loading phenotypesBonfaceKilz
2021-06-14add biweight r script and testsAlexander Kabui
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-18Added test for compose_rqtl_cmd in tests/unit/test_commands.pyzsloan
2021-05-18Added unit test for computations/rqtl.pyzsloan
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