aboutsummaryrefslogtreecommitdiff
path: root/tests
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-29tests: test_data: Add test data that contains trait data for 10007BonfaceKilz
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-18minor fixesAlexander Kabui
2021-06-18remove ununsed variablesAlexander Kabui
2021-06-18refactor perf query functionsAlexander Kabui
2021-06-18rename perf query fileAlexander Kabui
2021-06-18pep8 formattingAlexander Kabui
2021-06-18add types and dataset namesAlexander Kabui
2021-06-18initial commit for queries perfomance testsAlexander Kabui
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-11minor fixesAlexander Kabui
2021-06-11remove ununsed variablesAlexander Kabui
2021-06-11refactor perf query functionsAlexander Kabui
2021-06-11rename perf query fileAlexander Kabui
2021-06-11pep8 formattingAlexander Kabui
2021-06-11add types and dataset namesAlexander Kabui
2021-06-11initial commit for queries perfomance 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