Mercurial > repos > bimib > marea_2
changeset 263:480412399608 draft
Uploaded
author | luca_milaz |
---|---|
date | Sun, 04 Aug 2024 15:22:19 +0000 |
parents | d3688d572259 |
children | 9fc5620de44d |
files | marea_2/flux_to_map.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2/flux_to_map.py Sun Aug 04 15:18:49 2024 +0000 +++ b/marea_2/flux_to_map.py Sun Aug 04 15:22:19 2024 +0000 @@ -843,7 +843,6 @@ max_flux_medians = max(np.max(np.abs(arr)) for arr in medians.values()) max_flux_means = max(np.max(np.abs(arr)) for arr in means.values()) - # Normalizzazione dei medians e means for key, value in medians.items(): medians[key] = medians[key] / max_flux_medians @@ -868,7 +867,7 @@ arrow = Arrow(width=5, col=colors_median[rxn_id]) arrow.applyTo(rxn_id, metabMap_median, arrow.toStyleStr()) - svgFilePath = utils.FilePath(details = "SVG Map median - class " + str(key), ext = utils.FileFormat.SVG, prefix="result") + svgFilePath = utils.FilePath("SVG Map median - class " + str(key), ext = utils.FileFormat.SVG, prefix="result") utils.writeSvg(svgFilePath, metabMap_median)