siibra 1.0a11__tar.gz → 1.0a14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of siibra might be problematic. Click here for more details.
- {siibra-1.0a11/siibra.egg-info → siibra-1.0a14}/PKG-INFO +1 -1
- siibra-1.0a14/siibra/VERSION +1 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/commons.py +1 -1
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/feature.py +3 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/gene_expression.py +1 -1
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/sparsemap.py +3 -2
- {siibra-1.0a11 → siibra-1.0a14/siibra.egg-info}/PKG-INFO +1 -1
- siibra-1.0a11/siibra/VERSION +0 -1
- {siibra-1.0a11 → siibra-1.0a14}/LICENSE +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/MANIFEST.in +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/README.rst +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/setup.cfg +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/setup.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/configuration/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/configuration/configuration.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/configuration/factory.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/assignment.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/atlas.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/concept.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/parcellation.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/region.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/space.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/core/structure.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/exceptions.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/experimental/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/experimental/contour.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/experimental/cortical_profile_sampler.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/experimental/patch.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/experimental/plane3d.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/explorer/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/explorer/url.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/explorer/util.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/anchor.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/connectivity/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/connectivity/functional_connectivity.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/connectivity/regional_connectivity.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/connectivity/streamline_counts.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/connectivity/streamline_lengths.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/connectivity/tracing_connectivity.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/dataset/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/dataset/ebrains.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/image/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/image/image.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/image/sections.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/image/volume_of_interest.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/bigbrain_intensity_profile.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/cell_density_profile.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/cortical_profile.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/layerwise_bigbrain_intensities.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/layerwise_cell_density.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/receptor_density_fingerprint.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/receptor_density_profile.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/regional_timeseries_activity.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/features/tabular/tabular.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/livequeries/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/livequeries/allen.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/livequeries/bigbrain.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/livequeries/ebrains.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/livequeries/query.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/locations/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/locations/boundingbox.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/locations/location.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/locations/point.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/locations/pointset.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/retrieval/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/retrieval/cache.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/retrieval/datasets.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/retrieval/exceptions/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/retrieval/repositories.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/retrieval/requests.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/vocabularies/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/vocabularies/gene_names.json +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/vocabularies/receptor_symbols.json +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/vocabularies/region_aliases.json +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/parcellationmap.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/providers/__init__.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/providers/freesurfer.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/providers/gifti.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/providers/neuroglancer.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/providers/nifti.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/providers/provider.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra/volumes/volume.py +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra.egg-info/SOURCES.txt +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra.egg-info/dependency_links.txt +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra.egg-info/requires.txt +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/siibra.egg-info/top_level.txt +0 -0
- {siibra-1.0a11 → siibra-1.0a14}/test/test_siibra.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: siibra
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.0a14
|
|
4
4
|
Summary: siibra - Software interfaces for interacting with brain atlases
|
|
5
5
|
Home-page: https://github.com/FZJ-INM1-BDA/siibra-python
|
|
6
6
|
Author: Big Data Analytics Group, Forschungszentrum Juelich, Institute of Neuroscience and Medicine (INM-1)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0a14
|
|
@@ -51,7 +51,7 @@ SIIBRA_LOG_LEVEL = os.getenv("SIIBRA_LOG_LEVEL", "INFO")
|
|
|
51
51
|
SIIBRA_USE_CONFIGURATION = os.getenv("SIIBRA_USE_CONFIGURATION")
|
|
52
52
|
SIIBRA_USE_LOCAL_SNAPSPOT = os.getenv("SIIBRA_USE_LOCAL_SNAPSPOT")
|
|
53
53
|
SKIP_CACHEINIT_MAINTENANCE = os.getenv("SKIP_CACHEINIT_MAINTENANCE")
|
|
54
|
-
SIIBRA_MAX_FETCH_SIZE_GIB = os.getenv("SIIBRA_MAX_FETCH_SIZE_GIB", 0.2)
|
|
54
|
+
SIIBRA_MAX_FETCH_SIZE_GIB = float(os.getenv("SIIBRA_MAX_FETCH_SIZE_GIB", 0.2))
|
|
55
55
|
|
|
56
56
|
with open(os.path.join(ROOT_DIR, "VERSION"), "r") as fp:
|
|
57
57
|
__version__ = fp.read().strip()
|
|
@@ -393,6 +393,7 @@ class Feature:
|
|
|
393
393
|
|
|
394
394
|
@staticmethod
|
|
395
395
|
def _encode_concept(concept: concept.AtlasConcept):
|
|
396
|
+
from ..locations import Location
|
|
396
397
|
encoded_c = []
|
|
397
398
|
if isinstance(concept, space.Space):
|
|
398
399
|
encoded_c.append(f"s:{concept.id}")
|
|
@@ -403,6 +404,8 @@ class Feature:
|
|
|
403
404
|
encoded_c.append(f"r:{concept.name}")
|
|
404
405
|
elif isinstance(concept, volume.Volume):
|
|
405
406
|
encoded_c.append(f"v:{concept.name}")
|
|
407
|
+
elif isinstance(concept, Location):
|
|
408
|
+
encoded_c.append(f"loc:{Location}")
|
|
406
409
|
|
|
407
410
|
if len(encoded_c) == 0:
|
|
408
411
|
raise EncodeLiveQueryIdException("no concept is encoded")
|
|
@@ -239,7 +239,7 @@ class GeneExpressions(
|
|
|
239
239
|
"""
|
|
240
240
|
wrapwidth = kwargs.pop("textwrap") if "textwrap" in kwargs else 40
|
|
241
241
|
kwargs["title"] = kwargs.pop("title", None) \
|
|
242
|
-
or "\n".join(wrap(f"{self.modality} measured in {self.anchor._regionspec}", wrapwidth))
|
|
242
|
+
or "\n".join(wrap(f"{self.modality} measured in {self.anchor._regionspec or self.anchor.location}", wrapwidth))
|
|
243
243
|
kwargs["kind"] = "box"
|
|
244
244
|
if backend == "matplotlib":
|
|
245
245
|
for arg in ['yerr', 'y', 'ylabel', 'xlabel', 'width']:
|
|
@@ -20,6 +20,7 @@ from ..commons import MapIndex, logger, connected_components, siibra_tqdm
|
|
|
20
20
|
from ..locations import boundingbox
|
|
21
21
|
from ..retrieval import cache
|
|
22
22
|
from ..retrieval.repositories import ZipfileConnector, GitlabConnector
|
|
23
|
+
from ..exceptions import InsufficientArgumentException, ExcessiveArgumentException
|
|
23
24
|
|
|
24
25
|
from os import path, rename, makedirs
|
|
25
26
|
from zipfile import ZipFile, ZIP_DEFLATED
|
|
@@ -390,7 +391,7 @@ class SparseMap(parcellationmap.Map):
|
|
|
390
391
|
assert length == 1
|
|
391
392
|
except AssertionError:
|
|
392
393
|
if length > 1:
|
|
393
|
-
raise
|
|
394
|
+
raise ExcessiveArgumentException(
|
|
394
395
|
"One and only one of region_or_index, region, index can be defined for fetch"
|
|
395
396
|
)
|
|
396
397
|
# user can provide no arguments, which assumes one and only one volume present
|
|
@@ -416,7 +417,7 @@ class SparseMap(parcellationmap.Map):
|
|
|
416
417
|
assert len(self) == 1
|
|
417
418
|
volidx = 0
|
|
418
419
|
except AssertionError:
|
|
419
|
-
raise
|
|
420
|
+
raise InsufficientArgumentException(
|
|
420
421
|
f"{self.__class__.__name__} provides {len(self)} volumes. "
|
|
421
422
|
"Specify 'region' or 'index' for fetch() to identify one."
|
|
422
423
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: siibra
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.0a14
|
|
4
4
|
Summary: siibra - Software interfaces for interacting with brain atlases
|
|
5
5
|
Home-page: https://github.com/FZJ-INM1-BDA/siibra-python
|
|
6
6
|
Author: Big Data Analytics Group, Forschungszentrum Juelich, Institute of Neuroscience and Medicine (INM-1)
|
siibra-1.0a11/siibra/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0a11
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|