# HG changeset patch # User francesco_lapi # Date 1732187886 0 # Node ID df664d1a86d4ece0a6dfcc31710fe9dcd87cbbb3 # Parent 1dda40a6003756d22c1c14ebaec0709dd201e8d4 Uploaded diff -r 1dda40a60037 -r df664d1a86d4 COBRAxy/flux_to_map.py --- a/COBRAxy/flux_to_map.py Thu Nov 21 10:57:58 2024 +0000 +++ b/COBRAxy/flux_to_map.py Thu Nov 21 11:18:06 2024 +0000 @@ -665,7 +665,7 @@ OldEnrichedScores = Dict[str, List[Union[float, FoldChange]]] #TODO: try to use Tuple whenever possible def writeTabularResult(enrichedScores : OldEnrichedScores, outPath :utils.FilePath) -> None: - fieldNames = ["ids", "P_Value", "fold change"] + fieldNames = ["ids", "P_Value", "fold change", "z-score"] fieldNames.extend(["average_1", "average_2"]) writeToCsv([ [reactId] + values for reactId, values in enrichedScores.items() ], fieldNames, outPath)