# HG changeset patch # User luca_milaz # Date 1722782536 0 # Node ID ed9b20102a2015e308d0e569b28c09e093ab64ba # Parent 4058344a661f5e47047ee0ee30594f552ee6a779 Uploaded diff -r 4058344a661f -r ed9b20102a20 marea_2/flux_to_map.py --- a/marea_2/flux_to_map.py Sun Aug 04 14:23:21 2024 +0000 +++ b/marea_2/flux_to_map.py Sun Aug 04 14:42:16 2024 +0000 @@ -12,6 +12,7 @@ import utils.general_utils as utils from PIL import Image import os +import copy import argparse import pyvips from typing import Tuple, Union, Optional, List, Dict @@ -827,8 +828,8 @@ def computeEnrichmentMedoids(metabMap :ET.ElementTree, class_pat :Dict[str, List[List[float]]], ids :List[str]) -> None: - metabMap_mean = metabMap.copy() - metabMap_median = metabMap.copy() + metabMap_mean = copy.deepcopy(metabMap) + metabMap_median = copy.deepcopy(metabMap) #class_pat 462 * cellule utils.logWarning(