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

src/find_interaction_cluster/nt_and_community.py: fix create_outfiles function

parent 1bb5612d
Branches
No related tags found
No related merge requests found
......@@ -278,7 +278,7 @@ def create_outfiles(project: str, weight: int, global_weight: int,
outfolder = f"community_enrichment/{cpnt_type}_analysis"
if community_file != "":
cn = Path(outfolder).name.replace(".txt", "")
cn = Path(community_file).name.replace(".txt", "")
base = ConfigGraph.output_folder / outfolder / f"custom_{cn}"
base.mkdir(exist_ok=True, parents=True)
outfile = base / f"{cpnt}-{cpnt_type}_stat_{test_type}.txt"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment