aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
AgeCommit message (Expand)Author
2021-03-10Fix k-compute command when "loco" is trueBonfaceKilz
2021-03-10Update test to ensure redis.hset is called correctlyBonfaceKilz
2021-03-10Apply yapf file formatting to fileBonfaceKilz
2021-03-10Add extra tests for file utils...In test server, files were not extracted properly. This test exposes the bug. BonfaceKilz
2021-03-10Run yapf-formatter against fileBonfaceKilz
2021-03-08Delete "generate_gemma_computation_cmd"BonfaceKilz
2021-03-08Replace "compute_k_values" with "generate_gemma_cmd"BonfaceKilz
2021-03-08Add generic fn for computing k and gwa valuesBonfaceKilz
2021-03-08Apply pep-8 formatting...Began using elpy's format code fn BonfaceKilz
2021-03-08bug: Put a space between gemma-wrapper argsBonfaceKilz
2021-03-08Delete "lookup_file" procedureBonfaceKilz
2021-03-08Extract files to "/TMPDIR/TOKEN"...TOKEN is the user token * gn3/file_utils.py (extract_uploaded_file): Add extra param "token". If a token is empty, create a new directory based off that token. * tests/unit/test_file_utils.py: Update failing tests. BonfaceKilz
2021-03-08Fix failing testsBonfaceKilz
2021-03-08Make the name of the redis job queue configurableBonfaceKilz
2021-02-24Create a new helper function for generating k_values and GWABonfaceKilz
2021-02-24Add new procedure that computes the hash of an array of stringsBonfaceKilz
2021-02-24Create a new method for generating a valid phenotype file on the flyBonfaceKilz
2021-02-24Update "compose_gemma_cmd" testsBonfaceKilz
2021-02-16Add procedure for uploading gzipped file...* gn3/file_utils.py (extract_uploaded_file): New procedure. * tests/unit/test_file_utils.py: Test cases for ^^. * tests/unit/upload-data.tar.gz: New test data. BonfaceKilz
2021-02-16Add extra option to set email when queueing CMD...The e-mail field will be used to send the results of the computation when it is completed. BonfaceKilz
2021-02-16Add new test cases for run_cmdBonfaceKilz
2021-02-12Use sorted list of files when calculating md5sums of directory...* gn3/file_utils.py (get_dir_hash): Sort list of files before calculating their md5sums. * tests/unit/test_file_utils.py (test_get_dir_hash): Update test-case md5sum. BonfaceKilz
2021-02-12Add new procedure for queueing a command...* gn3/commands.py (queue_cmd): New procedure. * tests/unit/test_commands.py: New test-cases for ^^. BonfaceKilz
2021-02-12Add new procedure for composing a gemma cmd...* gn3/commands.py: New file * tests/unit/test_commands.py: New test-cases for ^^. BonfaceKilz
2021-02-12Add new procedure to return a python dict from a json file...* gn3/file_utils.py (jsonfile_to_dict): New procedure * tests/unit/test_file_utils.py: New test-cases. BonfaceKilz
2021-02-12Add new procedure for looking up files in a given ENV variable...* gn3/file_utils.py (lookup_file): New function. * tests/unit/test_file_utils.py: New test cases for ^^. BonfaceKilz
2021-02-12Add function for computing the hash of a directoryBonfaceKilz