Age | Commit message (Collapse) | Author |
|
In test server, files were not extracted properly. This test exposes the bug.
|
|
|
|
|
|
|
|
|
|
Reviewed-by: BonfaceKilz <me@bonfacemunyoki.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Began using elpy's format code fn
|
|
"/gwa-compute/<k_filename>/loco/covariates/maf/<maf>/<token>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* gn3/api/gemma.py (compute_k): New function.
* tests/integration/test_gemma.py (tesk_k_compute): New test case.
|
|
* gn3/file_utils.py (get_hash_of_values): New procedure.
(get_dir_hash): Use more generic "get_hash_of_values" to compute the hash of a
directory.
|
|
|
|
|
|
|
|
|
|
|
|
* gn3/api/general.py (upload_metadata): Update docstrings and update the use
of "extract_uploaded_file" fn.
|
|
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.
|
|
* gn3/computations/gemma.py (generaten_random_n_string): Move to...
* gn3/file_utils.py: ... here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* gn3/computations/gemma.py (generate_random_n_string): Add typing to function.
|
|
|
|
|
|
|