siibra 1.0.1a7__py3-none-any.whl → 1.0.1a9__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
- 1.0.1-alpha.7
1
+ 1.0.1-alpha.9
siibra/commons.py CHANGED
@@ -753,7 +753,7 @@ class Species(Enum):
753
753
  OPENMINDS_IDS = {
754
754
  "97c070c6-8e1f-4ee8-9d28-18c7945921dd": 1,
755
755
  "ab532423-1fd7-4255-8c6f-f99dc6df814f": 2,
756
- "d9875ebd-260e-4337-a637-b62fed4aa91d:": 3,
756
+ "d9875ebd-260e-4337-a637-b62fed4aa91d": 3,
757
757
  "0b6df2b3-5297-40cf-adde-9443d3d8214a": 4,
758
758
  "3ad33ec1-5152-497d-9352-1cf4497e0edd": 5,
759
759
  "2ab3ecf5-76cc-46fa-98ab-309e3fd50f57": 6,
siibra/explorer/url.py CHANGED
@@ -162,6 +162,7 @@ class DecodedUrl:
162
162
 
163
163
  def decode_url(url: str, vp_length=1000):
164
164
  import siibra
165
+ from siibra.locations import Point, BoundingBox
165
166
 
166
167
  try:
167
168
  space_match = re.search(r"/t:(?P<space_id>[^/]+)", url)
@@ -171,7 +172,7 @@ def decode_url(url: str, vp_length=1000):
171
172
  except Exception as e:
172
173
  raise DecodeNavigationException from e
173
174
 
174
- nav_match = re.search(r"/@:(?P<navigation_str>.+)/?", url)
175
+ nav_match = re.search(r"/@:(?P<navigation_str>[^/]+)/?", url)
175
176
  navigation_str = nav_match.group("navigation_str")
176
177
  for char in navigation_str:
177
178
  assert char in cipher or char in [
@@ -370,10 +370,9 @@ class Map(concept.AtlasConcept, configuration_folder="maps"):
370
370
  if kwargs_fragment is not None:
371
371
  if (mapindex.fragment is not None) and (kwargs_fragment != mapindex.fragment):
372
372
  raise exceptions.ConflictingArgumentException(
373
- "Conflicting specifications for fetching volume fragment: "
374
- f"{mapindex.fragment} / {kwargs_fragment}"
373
+ f"Conflicting specifications for fetching volume fragment{f' for region {region}'}: "
374
+ f"supplied: {kwargs_fragment}, preconfigured: {mapindex.fragment}"
375
375
  )
376
- mapindex.fragment = kwargs_fragment
377
376
 
378
377
  if mapindex.volume is None:
379
378
  mapindex.volume = 0
@@ -387,7 +386,7 @@ class Map(concept.AtlasConcept, configuration_folder="maps"):
387
386
  return _volume.FilteredVolume(
388
387
  parent_volume=self.volumes[mapindex.volume],
389
388
  label=mapindex.label,
390
- fragment=mapindex.fragment,
389
+ fragment=kwargs_fragment or mapindex.fragment,
391
390
  )
392
391
 
393
392
  def fetch(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: siibra
3
- Version: 1.0.1a7
3
+ Version: 1.0.1a9
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,6 +1,6 @@
1
- siibra/VERSION,sha256=f2RISlKPjcRUgbF4Sy0G6Dt5Xz_DBE4RwqJSDaRm5TU,14
1
+ siibra/VERSION,sha256=lOK2Kx6AE7Hs3dUDvh3mTY5Ssw9mBG-qYk3aAoRAp0A,14
2
2
  siibra/__init__.py,sha256=1uWhsE93KG4N9wiWoMdEokUXxfoRcyznXDktjAGhpEI,4496
3
- siibra/commons.py,sha256=KmbRdX6pfKTgIgbYufxhkE9YiLQ35GObbw6VyFdRm_w,28016
3
+ siibra/commons.py,sha256=lL_bIEUQUfxo5wAOWTrb1C8YPZ8KlHUbQyATjyeVBIQ,28015
4
4
  siibra/exceptions.py,sha256=6MlXOadwXcCsceOE4lmy4fLJyAaBCCVvJF6BZlMYjU8,1371
5
5
  siibra/configuration/__init__.py,sha256=ArqQ_B8C_O61KA4Fk3ho8ksckbjLu-COOlPGiXyf8LE,752
6
6
  siibra/configuration/configuration.py,sha256=A651Tg632_a_c_yjxs-FJW_douQyzSJBoCDad4expVk,7151
@@ -14,7 +14,7 @@ siibra/core/region.py,sha256=036Fjck1H6wGSubJomjEHUN1I-XMPSPqx3_78MEYbG8,44108
14
14
  siibra/core/space.py,sha256=X7FyKgdhao3ezSWQZ0MAjDxlQh305S-4a4D630RaM-c,4588
15
15
  siibra/core/structure.py,sha256=M2li4PPiJf27dOc3b2ycCfHf7Ad1AWxBYc9OpSFazJM,4498
16
16
  siibra/explorer/__init__.py,sha256=XBAeYm4W3HlbWsKtt8gOwqE_FinIEY7RdA6Rg4Y275A,781
17
- siibra/explorer/url.py,sha256=S6Tpg1p2gmu5byHVqsXfkugUStLd1Fu94EqsDzgEU9E,7047
17
+ siibra/explorer/url.py,sha256=R6fvFvd9rozecKHEes2TPHId92sLA0Oyeg7-JJiIELc,7102
18
18
  siibra/explorer/util.py,sha256=ul82TQZAULdupr4tJBACdkjlHm2mt8LJ9UpwNWGHYhE,2083
19
19
  siibra/features/__init__.py,sha256=FER6DMnkPhXSV1XMZWibZdyBwVhIgWYSUGYMEYEKb9c,3970
20
20
  siibra/features/anchor.py,sha256=cMuaGB8ZCGMpdeb3plzHzNC4ImsxsriQ66janWcjhjk,9101
@@ -64,7 +64,7 @@ siibra/vocabularies/gene_names.json,sha256=i-gnh753GyZtQfX_dWibNYr_d5ccDPHooOwsd
64
64
  siibra/vocabularies/receptor_symbols.json,sha256=F6DZIArPCBmJV_lWGV-zDpBBH_GOJOZm67LBE4qzMa4,5722
65
65
  siibra/vocabularies/region_aliases.json,sha256=T2w1wRlxPNTsPppXn0bzC70tNsb8mOjLsoHuxDSYm2w,8563
66
66
  siibra/volumes/__init__.py,sha256=9eiVjgGTqq9BiFJaLVLABtTrhIcE2k3Cn51yC4EKplg,936
67
- siibra/volumes/parcellationmap.py,sha256=z5wWxK_kcFpS_ROpc9ny4aCbM7P9qc3DRDxrOKGp2Hk,51409
67
+ siibra/volumes/parcellationmap.py,sha256=M1ZGEWZ0owDcP5O9yrsZr8HloQa1knZzbI9g-v4rcYo,51430
68
68
  siibra/volumes/sparsemap.py,sha256=Yv07LIlt5yigw-ubWFq89hHnsivT7dymYCsCTe7Wu9I,17167
69
69
  siibra/volumes/volume.py,sha256=wLmtqoXBDoPvE3WBO_Hc8uny3cdE9mB0KgdCq0LOTa0,32408
70
70
  siibra/volumes/providers/__init__.py,sha256=AHZCjutCqO4mnHxyykVjqxlz85jDqFWcSjsa4ciwc1A,934
@@ -73,8 +73,8 @@ siibra/volumes/providers/gifti.py,sha256=JGuixlSJTVjbDU_M5oMDCV8BAwIzuczhnI-qZ7L
73
73
  siibra/volumes/providers/neuroglancer.py,sha256=b3TiJ6yrx_akLFKgHRKZyHculzzRIqbZ7U3TMQHy6-k,28618
74
74
  siibra/volumes/providers/nifti.py,sha256=aAzkmeDZaXRZ-dkAeEb2cSywNn9WzIz0z7yFtN6iNpU,10135
75
75
  siibra/volumes/providers/provider.py,sha256=Vn02au_LKynO5SIfqLyjqzxCf7JD9Wm4i7yEFcTX0WU,3585
76
- siibra-1.0.1a7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
77
- siibra-1.0.1a7.dist-info/METADATA,sha256=wvzztg9GqZBMq_u7M_7TYiQxRPL75WTHc_ESqgZ5lks,9301
78
- siibra-1.0.1a7.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
79
- siibra-1.0.1a7.dist-info/top_level.txt,sha256=NF0OSGLL0li2qyC7MaU0iBB5Y9S09_euPpvisD0-8Hg,7
80
- siibra-1.0.1a7.dist-info/RECORD,,
76
+ siibra-1.0.1a9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
77
+ siibra-1.0.1a9.dist-info/METADATA,sha256=XKHahVbmwzZ3I3Kg4YL0AMzBbtsSQd0RrJImjWAAUCA,9301
78
+ siibra-1.0.1a9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
+ siibra-1.0.1a9.dist-info/top_level.txt,sha256=NF0OSGLL0li2qyC7MaU0iBB5Y9S09_euPpvisD0-8Hg,7
80
+ siibra-1.0.1a9.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5