Skip to content
Snippets Groups Projects
Commit c4545f21 authored by nfontrod's avatar nfontrod
Browse files

src/db_utils/frequency_scripts/create_n_fill_exon_frequency_file.py: fix...

src/db_utils/frequency_scripts/create_n_fill_exon_frequency_file.py: fix fill_frequency_tables by creating theresults/frequencies directory it it doesn't exist
parent d2a976c9
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,7 @@ def fill_frequency_tables(ps: int = 1, logging_level: str = 'DISABLE'):
:param ps: the number of process to create
:param logging_level: The level of information to display
"""
Config_freq.output.mkdir(parents=True, exist_ok=True)
logging_def(Config_freq.output, __file__, logging_level)
df_exon, df_gene = create_or_load_freq_table(ps)
df_exon.to_csv(Config_freq.output_exon_file, sep="\t", index=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment