changeset 171:f0a060e4e217 draft

Uploaded
author francesco_lapi
date Fri, 26 Jul 2024 13:25:47 +0000
parents 2c75a3b96bc0
children 9e68176e6b2a
files marea_2/marea.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)