# HG changeset patch # User francesco_lapi # Date 1722000347 0 # Node ID f0a060e4e21743bf7010a69b96e85492b01e970c # Parent 2c75a3b96bc0ebd60ffd159f26514a8d293fe4ad Uploaded diff -r 2c75a3b96bc0 -r f0a060e4e217 marea_2/marea.py --- a/marea_2/marea.py Fri Jul 26 12:43:28 2024 +0000 +++ b/marea_2/marea.py Fri Jul 26 13:25:47 2024 +0000 @@ -428,8 +428,8 @@ # Now we style the arrow head(s): idOpt1, idOpt2 = getArrowHeadElementId(reactionId) - self.applyTo(idOpt1, metabMap, self.toStyleStr(downSizedForTips = True)) - if idOpt2: self.applyTo(idOpt2, metabMap, self.toStyleStr(downSizedForTips = True)) + self.applyTo(idOpt1, metabMap, self.toStyleStr(downSizedForTips = False)) + if idOpt2: self.applyTo(idOpt2, metabMap, self.toStyleStr(downSizedForTips = False)) def getMapReactionId(self, reactionId :str, mindReactionDir :bool) -> str: """ @@ -666,7 +666,7 @@ OldEnrichedScores = Dict[str, List[Union[float, FoldChange]]] #TODO: try to use Tuple whenever possible def writeTabularResult(enrichedScores : OldEnrichedScores, ras_enrichment: bool, outPath :utils.FilePath) -> None: - fieldNames = ["ids", "P_Value", "Log2(fold change)"] + fieldNames = ["ids", "P_Value", "fold change"] if not ras_enrichment: fieldNames.extend(["average_1", "average_2"]) writeToCsv([ [reactId] + values for reactId, values in enrichedScores.items() ], fieldNames, outPath)