siibra 0.4a81__py3-none-any.whl → 0.4a82__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.4a81
1
+ 0.4a82
siibra/core/concept.py CHANGED
@@ -101,7 +101,15 @@ class AtlasConcept:
101
101
 
102
102
  @property
103
103
  def LICENSE(self) -> str:
104
- return '\n'.join([ds.LICENSE for ds in self.datasets])
104
+ licenses = []
105
+ for ds in self.datasets:
106
+ if ds.LICENSE is None or ds.LICENSE == "No license information is found.":
107
+ continue
108
+ if isinstance(ds.LICENSE, str):
109
+ licenses.append(ds.LICENSE)
110
+ if isinstance(ds.LICENSE, list):
111
+ licenses.extend(ds.LICENSE)
112
+ return '\n'.join(licenses)
105
113
 
106
114
  @property
107
115
  def doi_or_url(self) -> str:
@@ -164,7 +164,15 @@ class Feature:
164
164
 
165
165
  @property
166
166
  def LICENSE(self) -> str:
167
- return '\n'.join([ds.LICENSE for ds in self.datasets])
167
+ licenses = []
168
+ for ds in self.datasets:
169
+ if ds.LICENSE is None or ds.LICENSE == "No license information is found.":
170
+ continue
171
+ if isinstance(ds.LICENSE, str):
172
+ licenses.append(ds.LICENSE)
173
+ if isinstance(ds.LICENSE, list):
174
+ licenses.extend(ds.LICENSE)
175
+ return '\n'.join(licenses)
168
176
 
169
177
  @property
170
178
  def doi_or_url(self) -> str:
@@ -56,6 +56,10 @@ class EbrainsBaseDataset(ABC):
56
56
  def name(self) -> str:
57
57
  raise NotImplementedError
58
58
 
59
+ @abstractproperty
60
+ def LICENSE(self) -> List[str]:
61
+ raise NotImplementedError
62
+
59
63
  @abstractproperty
60
64
  def urls(self) -> List[EbrainsDatasetUrl]:
61
65
  raise NotImplementedError
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: siibra
3
- Version: 0.4a81
3
+ Version: 0.4a82
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=g9_JjItOuWjJl9d8unj9O6xgS_VZXN39CB-ynWiIXYc,7
1
+ siibra/VERSION,sha256=8FrOfNVFRpKL7boUKylJoan8yk8adfGPGYxjBooIvac,7
2
2
  siibra/__init__.py,sha256=qBxxMRyl9RojNt0twQr2LDk1Nyk5eNsPHFxxoIwnpx4,4540
3
3
  siibra/commons.py,sha256=PImsqrZBp2Mn_9ZEJOxEOd4i-w_HPMv4sUcHCtN9cPw,25868
4
4
  siibra/configuration/__init__.py,sha256=-_Kuf0TfMEdFXiSCTAdcHUL_krA8-cxhJypSNNay53Q,752
@@ -6,7 +6,7 @@ siibra/configuration/configuration.py,sha256=x06QsaqGQbce1d9TuFCCYEgMWJBlLbkt8B3
6
6
  siibra/configuration/factory.py,sha256=CxJWspLpXPJWB2zeNqgd-2OcyA_tkwTS9IfRmiM5Gao,20585
7
7
  siibra/core/__init__.py,sha256=z22elfoi5_TscUb17-pBoGyfT_q9PQpvgOgSLEJe2WE,916
8
8
  siibra/core/atlas.py,sha256=YwhVWAIT0XGfzKjSuQUNpljdIE4VP4crNQ3VNfTrgKg,7868
9
- siibra/core/concept.py,sha256=qkxWbfbPStUVN6OL88o5LaQyi4m34xHWtaA1FiHUZsY,9279
9
+ siibra/core/concept.py,sha256=rKR7FO1HaFdy076Dy0y9Bjcdu_tcYUHbxLYNZxH7XTY,9595
10
10
  siibra/core/parcellation.py,sha256=f5UEeXWQ3-dsU1YKswXL9nvCPyWSwp0rMqEUlMt8hxw,13951
11
11
  siibra/core/region.py,sha256=jp44pOnuazzgpSlbGMjJ0-7xXOJHUYXg4YakXrbbVoM,32887
12
12
  siibra/core/relation_qualification.py,sha256=EUU9EPkV0mdCjGUU2hki1rQ5R5U4X2YoFmvwOirO2_E,3641
@@ -16,7 +16,7 @@ siibra/explorer/url.py,sha256=mUAFN7OHfLELfdqqJmSdAkmXJjKCv6Qh5RHtyxNQjfo,5868
16
16
  siibra/explorer/util.py,sha256=Z2ruicDL3S_qcxhHHW0GF1q5-r963tJpzgtQmAn8YSM,1424
17
17
  siibra/features/__init__.py,sha256=Y5q2M7HoToTcfAdO50jmnPGZybJOi5GyEcbxQRscJjo,1518
18
18
  siibra/features/anchor.py,sha256=1w9VuSEWC3oapph8GtbsW26kvMcE7_9ik7281oRMjlE,14245
19
- siibra/features/feature.py,sha256=4P9g01TALfZhbl2j9Ze11XrtaMnnYFr7vWa7cFPGp3k,20019
19
+ siibra/features/feature.py,sha256=VVufDNvlbqY-w4cAgsbpwL6mcrtmhsXAFkeAWxAYf1Y,20335
20
20
  siibra/features/connectivity/__init__.py,sha256=ybKN9OfmabSeTx1I6WSrULu5dT6raefty8QB2XaiUrE,1077
21
21
  siibra/features/connectivity/functional_connectivity.py,sha256=AkRYufi4r3CeV50FLaI6kjKraQ4t9G58iPn521HRRGk,1407
22
22
  siibra/features/connectivity/regional_connectivity.py,sha256=hK372Dhn-Bn8ALj-Gmwm1sv9HjKXfznOsHfRVNmGcO0,15360
@@ -52,7 +52,7 @@ siibra/locations/point.py,sha256=ZPfjcGgxBvZrXNJ7HA4qLk9xr-0ZlA2Nj_5z8w4IZzw,126
52
52
  siibra/locations/pointset.py,sha256=Wp-qlU3hdlLlEc3WU-QodpL_70It7GQf9FctnYLXsQI,7159
53
53
  siibra/retrieval/__init__.py,sha256=pAJ2WsNk9tVY1RddmXzya1iFgJXJarO4TVCJTob1Ej0,1062
54
54
  siibra/retrieval/cache.py,sha256=9Wssws2YHiI_OW4EZp72OzYV9nw8h5cAEAakSxtRMts,5143
55
- siibra/retrieval/datasets.py,sha256=hmzTIAJ50fK302crWXlNjA27NrVNBdks8xTx8tb2uvM,11174
55
+ siibra/retrieval/datasets.py,sha256=zDiSgbmL6aqnZpYrJMcfbv2c_Kh-2KMwmHQTJkdF9GM,11267
56
56
  siibra/retrieval/repositories.py,sha256=wYE3oYcIBgD3WOqIerS3darsg_TSrfpdDJ72l2uytak,25961
57
57
  siibra/retrieval/requests.py,sha256=tRmgocvob7619e_4Vw-dVd8R3JJ95UGkVyESXF2EBE0,22013
58
58
  siibra/retrieval/exceptions/__init__.py,sha256=_w996kp5rxuvi-_iLhrByrH2OtApxm_TykthkaQvKpo,874
@@ -67,8 +67,8 @@ siibra/volumes/nifti.py,sha256=nGSCedjpsiy43XIiHQ2SRy9rPRK8Ci9QDq4AHKclCck,9030
67
67
  siibra/volumes/parcellationmap.py,sha256=phoMzNLI3Ig9rWvuD_c1yBm3ejLxAJGXtTHMXqw-ivc,44243
68
68
  siibra/volumes/sparsemap.py,sha256=j41ozLSgKri68-KDsqo46gEs4lT4aYsf2yMF4l-ruCo,21752
69
69
  siibra/volumes/volume.py,sha256=h_KrdDkpeoENnOrE7BlTZNXaZQGTrJXHX0eSyArxF-4,11667
70
- siibra-0.4a81.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
71
- siibra-0.4a81.dist-info/METADATA,sha256=tVcIwpPs7lmGR0VaD7guc8dlw8PQoI1RiMJ7RUpfvG0,8328
72
- siibra-0.4a81.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
73
- siibra-0.4a81.dist-info/top_level.txt,sha256=NF0OSGLL0li2qyC7MaU0iBB5Y9S09_euPpvisD0-8Hg,7
74
- siibra-0.4a81.dist-info/RECORD,,
70
+ siibra-0.4a82.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
71
+ siibra-0.4a82.dist-info/METADATA,sha256=50XhPue-_G9FiIw6it7x6izRWmRHVtoFNL7TX4UskL0,8328
72
+ siibra-0.4a82.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
73
+ siibra-0.4a82.dist-info/top_level.txt,sha256=NF0OSGLL0li2qyC7MaU0iBB5Y9S09_euPpvisD0-8Hg,7
74
+ siibra-0.4a82.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5