Mercurial > repos > bimib > cobraxy
changeset 278:5e8f1ab4242f draft
Uploaded
author | francesco_lapi |
---|---|
date | Mon, 12 May 2025 16:02:38 +0000 |
parents | 1bf66a30ab23 |
children | 7f37f9626071 |
files | COBRAxy/marea.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/marea.py Mon May 12 15:36:25 2025 +0000 +++ b/COBRAxy/marea.py Mon May 12 16:02:38 2025 +0000 @@ -686,7 +686,10 @@ def temp_thingsInCommon(tmp :Dict[str, List[Union[float, FoldChange]]], core_map :ET.ElementTree, max_z_score :float, dataset1Name :str, dataset2Name = "rest", ras_enrichment = True) -> None: # this function compiles the things always in common between comparison modes after enrichment. # TODO: organize, name better. - writeTabularResult(tmp, ras_enrichment, buildOutputPath(dataset1Name, dataset2Name, details = "Tabular Result", ext = utils.FileFormat.TSV)) + suffix = "RAS" if ras_enrichment else "RPS" + details = f"Tabular Result ({suffix})" + + writeTabularResult(tmp, ras_enrichment, buildOutputPath(dataset1Name, dataset2Name, details = details, ext = utils.FileFormat.TSV)) if ras_enrichment: fix_map(tmp, core_map, ARGS.pValue, ARGS.fChange, max_z_score)