siibra 0.4a95__py3-none-any.whl → 0.4a97__py3-none-any.whl

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4a95
1
+ 0.4a97
@@ -207,6 +207,11 @@ class Map(concept.AtlasConcept, configuration_folder="maps"):
207
207
  """
208
208
  matches = self.find_indices(region)
209
209
  if len(matches) > 1:
210
+ # if there is an exact match, we still use it. If not, we cannot proceed.
211
+ regionname = region.name if isinstance(region, _region.Region) else region
212
+ for index, matched_name in matches.items():
213
+ if matched_name == regionname:
214
+ return index
210
215
  raise NonUniqueIndexError(
211
216
  f"The specification '{region}' matches multiple mapped "
212
217
  f"structures in {str(self)}: {list(matches.values())}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: siibra
3
- Version: 0.4a95
3
+ Version: 0.4a97
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)
@@ -1,4 +1,4 @@
1
- siibra/VERSION,sha256=vJULnWlBU-CCaXMe7-8vb5-1EFgGpKI7SvkyRPITS0k,7
1
+ siibra/VERSION,sha256=nf5DGaa_NDfKIRWgnFWtvDYhXeBJrnE5c7TjAd5aqa4,7
2
2
  siibra/__init__.py,sha256=qBxxMRyl9RojNt0twQr2LDk1Nyk5eNsPHFxxoIwnpx4,4540
3
3
  siibra/commons.py,sha256=y0yLQw1wWn8N9EgQGW2B0aAuo3FM_5zthMcEcvuvmH8,25895
4
4
  siibra/configuration/__init__.py,sha256=-_Kuf0TfMEdFXiSCTAdcHUL_krA8-cxhJypSNNay53Q,752
@@ -65,11 +65,11 @@ siibra/volumes/freesurfer.py,sha256=q5pHcWEvluzQ_2ENaDgy4jfb_k266QXUPa_LLkWniZw,
65
65
  siibra/volumes/gifti.py,sha256=_LUHgPqndzSj9nNH70Ee2lWMkockVGdi2_JufuaExG4,5551
66
66
  siibra/volumes/neuroglancer.py,sha256=HWxhTh2FviLkNHdKL-_OMtl3oC6-WQb5b8skdvQ0ql8,24504
67
67
  siibra/volumes/nifti.py,sha256=nGSCedjpsiy43XIiHQ2SRy9rPRK8Ci9QDq4AHKclCck,9030
68
- siibra/volumes/parcellationmap.py,sha256=phoMzNLI3Ig9rWvuD_c1yBm3ejLxAJGXtTHMXqw-ivc,44243
68
+ siibra/volumes/parcellationmap.py,sha256=gnopmpdF6UWOMHMi2A2sAMSMAKpAo-4VaWfz7o-KF5E,44552
69
69
  siibra/volumes/sparsemap.py,sha256=j41ozLSgKri68-KDsqo46gEs4lT4aYsf2yMF4l-ruCo,21752
70
70
  siibra/volumes/volume.py,sha256=QJDbOkS3DXzuqiC-O-hBqBHkqS91zoDte9UXT-UuMdY,11774
71
- siibra-0.4a95.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
- siibra-0.4a95.dist-info/METADATA,sha256=bmN35xrCFx_4sf9qliaxUcDTLQd3IA7nBGPKRqb2zCk,8547
73
- siibra-0.4a95.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
74
- siibra-0.4a95.dist-info/top_level.txt,sha256=NF0OSGLL0li2qyC7MaU0iBB5Y9S09_euPpvisD0-8Hg,7
75
- siibra-0.4a95.dist-info/RECORD,,
71
+ siibra-0.4a97.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
+ siibra-0.4a97.dist-info/METADATA,sha256=kJ9pdP3_Bw8ikIKaNtHC_dyR6FYGgri03lbweHALGuQ,8547
73
+ siibra-0.4a97.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
74
+ siibra-0.4a97.dist-info/top_level.txt,sha256=NF0OSGLL0li2qyC7MaU0iBB5Y9S09_euPpvisD0-8Hg,7
75
+ siibra-0.4a97.dist-info/RECORD,,