diff --git a/siibra_jugex/__init__.py b/siibra_jugex/__init__.py index 3be972c..e282cfd 100644 --- a/siibra_jugex/__init__.py +++ b/siibra_jugex/__init__.py @@ -1,4 +1,4 @@ -__version__="0.2" +__version__="0.2.1" import logging logger = logging.getLogger(__name__) diff --git a/siibra_jugex/jugex.py b/siibra_jugex/jugex.py index 17cc13b..dac2382 100644 --- a/siibra_jugex/jugex.py +++ b/siibra_jugex/jugex.py @@ -297,7 +297,7 @@ def _retrieve_samples(self,regionspec,maptype:siibra.MapType,threshold:float): samples[key]['mnicoord'] = tuple(f.location) samples[key]['region'] = region samples[key][gene_name] = np.mean( - winsorize(f.z_scores, limits=0.1)) + winsorize(np.array(f.z_scores), limits=0.1)) logger.info('{} samples found for region {}.'.format( len(samples), regionspec)) return samples