Age | Commit message (Expand) | Author |
2021-03-08 | Create a more generic procedure for getting hash values of files•••* 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.
| BonfaceKilz |
2021-03-08 | Replace APP_DEFAULTS dict with actual conf params | BonfaceKilz |
2021-03-08 | Delete "lookup_file" procedure | BonfaceKilz |
2021-03-08 | Extract 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-08 | Move "generate_random_n_string" to file_utils•••* gn3/computations/gemma.py (generaten_random_n_string): Move to...
* gn3/file_utils.py: ... here.
| BonfaceKilz |
2021-02-16 | Add 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-12 | Add configuration file for the project | BonfaceKilz |
2021-02-12 | Use 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-12 | Add 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-12 | Add 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-12 | Add function for computing the hash of a directory | BonfaceKilz |