Age | Commit message (Collapse) | Author |
|
* gn3/computations/gemma.py: Delete reimport "Qptional".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Ran the command:
pipx run no_implicit_optional ./
in the root directory.
|
|
|
|
When the encoding is not specified explicitly, the system default encoding is
used. This is not recommended.
* gn3/computations/ctl.py (call_ctl_script),
gn3/computations/gemma.py (generate_pheno_txt_file),
gn3/computations/parsers.py (parse_genofile),
gn3/computations/partial_correlations.py (partial_correlations_fast),
gn3/computations/rqtl.py (process_rqtl_output, process_perm_output),
gn3/computations/wgcna.py (dump_wgcna_data, call_wgcna_script),
gn3/fs_helpers.py (jsonfile_to_dict): Explicitly specify UTF-8 to be the file
encoding.
*
tests/unit/computations/test_gemma.py (TestGemma.test_generate_pheno_txt_file),
tests/unit/computations/test_wgcna.py (TestWgcna.test_create_json_file): Test
for call to open with encoding='utf-8' argument.
|
|
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...
|
|
|
|
|
|
|
|
|
|
Began using elpy's format code fn
|
|
* 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.
|
|
|
|
|