junifer 0.0.6.dev527__py3-none-any.whl → 0.0.6.dev536__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.
junifer/_version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.0.6.dev527'
21
- __version_tuple__ = version_tuple = (0, 0, 6, 'dev527')
20
+ __version__ = version = '0.0.6.dev536'
21
+ __version_tuple__ = version_tuple = (0, 0, 6, 'dev536')
junifer/cli/__init__.py CHANGED
@@ -3,7 +3,22 @@
3
3
  # Authors: Synchon Mandal <s.mandal@fz-juelich.de>
4
4
  # License: AGPL
5
5
 
6
+ import sys
7
+
6
8
  import lazy_loader as lazy
7
9
 
8
10
 
11
+ if sys.version_info < (3, 11): # pragma: no cover
12
+ from importlib_metadata import entry_points
13
+ else:
14
+ from importlib.metadata import entry_points
15
+
16
+
9
17
  __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
18
+
19
+
20
+ # Register extensions
21
+ from .cli import cli
22
+
23
+ for ep in entry_points(group="junifer.ext"):
24
+ cli.add_command(ep.load(), name=ep.name)
junifer/cli/cli.py CHANGED
@@ -111,7 +111,9 @@ def _validate_verbose(
111
111
  )
112
112
 
113
113
 
114
- @click.group()
114
+ @click.group
115
+ @click.version_option()
116
+ @click.help_option()
115
117
  def cli() -> None: # pragma: no cover
116
118
  """JUelich NeuroImaging FEature extractoR."""
117
119
 
junifer/data/_dispatch.py CHANGED
@@ -214,7 +214,7 @@ def register_data(
214
214
  name=name, space=space, overwrite=overwrite, **kwargs
215
215
  )
216
216
  elif kind == "mask":
217
- return MaskRegistry().load(
217
+ return MaskRegistry().register(
218
218
  name=name, space=space, overwrite=overwrite, **kwargs
219
219
  )
220
220
  else:
@@ -241,8 +241,8 @@ def deregister_data(kind: str, name: str) -> None:
241
241
  if kind == "coordinates":
242
242
  return CoordinatesRegistry().deregister(name=name)
243
243
  elif kind == "parcellation":
244
- return ParcellationRegistry().register(name=name)
244
+ return ParcellationRegistry().deregister(name=name)
245
245
  elif kind == "mask":
246
- return MaskRegistry().load(name=name)
246
+ return MaskRegistry().deregister(name=name)
247
247
  else:
248
248
  raise_error(f"Unknown data kind: {kind}")
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: junifer
3
- Version: 0.0.6.dev527
3
+ Version: 0.0.6.dev536
4
4
  Summary: JUelich NeuroImaging FEature extractoR
5
5
  Author-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Synchon Mandal <s.mandal@fz-juelich.de>
6
6
  Maintainer-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Synchon Mandal <s.mandal@fz-juelich.de>
@@ -44,7 +44,7 @@ Requires-Dist: lapy<2.0.0,>=1.0.0
44
44
  Requires-Dist: lazy_loader==0.4
45
45
  Requires-Dist: importlib_metadata; python_version < "3.9"
46
46
  Requires-Dist: looseversion==1.3.0; python_version >= "3.12"
47
- Requires-Dist: junifer_data==1.2.0
47
+ Requires-Dist: junifer_data==1.3.0
48
48
  Provides-Extra: all
49
49
  Requires-Dist: bctpy==0.6.0; extra == "all"
50
50
  Requires-Dist: neurokit2>=0.1.7; extra == "all"
@@ -69,6 +69,7 @@ Requires-Dist: towncrier<24.7.0,>=23.10.0; extra == "docs"
69
69
  Requires-Dist: sphinxcontrib-mermaid<0.10,>=0.8.1; extra == "docs"
70
70
  Requires-Dist: sphinxcontrib-towncrier==0.4.0a0; extra == "docs"
71
71
  Requires-Dist: setuptools-scm>=8; extra == "docs"
72
+ Dynamic: license-file
72
73
 
73
74
  ![Junifer logo](docs/images/junifer_logo.png "junifer logo")
74
75
 
@@ -1,6 +1,6 @@
1
1
  junifer/__init__.py,sha256=2McgH1yNue6Z1V26-uN_mfMjbTcx4CLhym-DMBl5xA4,266
2
2
  junifer/__init__.pyi,sha256=SsTvgq2Dod6UqJN96GH1lCphH6hJQQurEJHGNhHjGUI,508
3
- junifer/_version.py,sha256=F9WFgwP9kPYcQ9Lm-89eNIhhJgCnjZ1Co5mqDniCoV8,528
3
+ junifer/_version.py,sha256=1MngmE54O_4DFiyuN6qI5ONmhjA8aVCEk7aPZdjJ1hY,528
4
4
  junifer/conftest.py,sha256=PWYkkRDU8ly2lYwv7VBKMHje4et6HX7Yey3Md_I2KbA,613
5
5
  junifer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  junifer/stats.py,sha256=e9aaagMGtgpRfW3Wdpz9ocpnYld1IWylCDcjFUgX9Mk,6225
@@ -41,9 +41,9 @@ junifer/api/res/fsl/img2imgcoord,sha256=Zmaw3oJYrEltcXiPyEubXry9ppAq3SND52tdDWGg
41
41
  junifer/api/res/fsl/run_fsl_docker.sh,sha256=pq-fcNdLuvHzVIQePN4GebZGlcE2UF-xj5rBIqAMz4g,1122
42
42
  junifer/api/res/fsl/std2imgcoord,sha256=-X5wRH6XMl0yqnTACJX6MFhO8DFOEWg42MHRxGvimXg,49
43
43
  junifer/api/tests/test_functions.py,sha256=HcJIBCtcgL1xJlDwtGHrGOWBMjXgCoAFoVxQW6n2Tds,20676
44
- junifer/cli/__init__.py,sha256=DS3kZKHeVDxt6d1MLBerZ2fcAwrEBHee5JOBhOLajUI,197
44
+ junifer/cli/__init__.py,sha256=LRmpmMe0DdZKYZTV61onUiLLxYZ_ZYSfmRbH55bBJMg,500
45
45
  junifer/cli/__init__.pyi,sha256=PiV4znUnzSeuSSJGz-RT8N21PiMqoSMwYcypi7nt2Js,40
46
- junifer/cli/cli.py,sha256=LvtkFMvnxuoviAhs0bki6P4GMda6ZvNsJi4_QF00va8,15691
46
+ junifer/cli/cli.py,sha256=IMaTj7eXdL0q9alLLtWsf2A4z6PbKtIDhE4gfM222VY,15734
47
47
  junifer/cli/parser.py,sha256=jLinKVcZeuyTnxjB2p5sj8555DO5rcPcWKgZCtgFARY,8498
48
48
  junifer/cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  junifer/cli/utils.py,sha256=AbPQC0Kl-tHMNKiPxp_01gLAGD3IGoLbsq3rXyPMM-c,3116
@@ -72,7 +72,7 @@ junifer/configs/juseless/datagrabbers/tests/test_ucla.py,sha256=l-1y_m6NJo7JExhy
72
72
  junifer/configs/juseless/datagrabbers/tests/test_ukb_vbm.py,sha256=b9hjc1mgO--PSRC3id2EzzfE2yWNsuZ2UI47a6sfGZU,1025
73
73
  junifer/data/__init__.py,sha256=xJDI2QKtdjcNzpd1oVFM3guh1SFHM6jKstl7pFmzOuk,267
74
74
  junifer/data/__init__.pyi,sha256=qYszjUYcbFi_2zO23MnbA2HhTW-Ad2oh1pqPQYd6yt0,542
75
- junifer/data/_dispatch.py,sha256=O524U1R4MtbGhGJsL0HSh9EqisapBFJWK7uupXrJuMg,6158
75
+ junifer/data/_dispatch.py,sha256=JYUfzcn3MwMw1m-11bC1oKQrGB1kUjVwHgwdKIKA7rw,6170
76
76
  junifer/data/pipeline_data_registry_base.py,sha256=G8bE3WTj4D_rKC4ZKZe6E48Sd96CGea1PS3SxmTgGK4,2010
77
77
  junifer/data/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
78
  junifer/data/template_spaces.py,sha256=7LcQbUV_SWCic-TtETCejgat-BxxFDxZFm5z80rRZ-M,4661
@@ -341,10 +341,10 @@ junifer/utils/tests/test_config.py,sha256=7ltIXuwb_W4Mv_1dxQWyiyM10XgUAfsWKV6D_i
341
341
  junifer/utils/tests/test_fs.py,sha256=WQS7cKlKEZ742CIuiOYYpueeAhY9PqlastfDVpVVtvE,923
342
342
  junifer/utils/tests/test_helpers.py,sha256=k5qqfxK8dFyuewTJyR1Qn6-nFaYNuVr0ysc18bfPjyU,929
343
343
  junifer/utils/tests/test_logging.py,sha256=duO4ou365hxwa_kwihFtKPLaL6LC5XHiyhOijrrngbA,8009
344
- junifer-0.0.6.dev527.dist-info/AUTHORS.rst,sha256=rmULKpchpSol4ExWFdm-qu4fkpSZPYqIESVJBZtGb6E,163
345
- junifer-0.0.6.dev527.dist-info/LICENSE.md,sha256=MqCnOBu8uXsEOzRZWh9EBVfVz-kE9NkXcLCrtGXo2yU,34354
346
- junifer-0.0.6.dev527.dist-info/METADATA,sha256=9m9-_HWZJUx-_wSkO7KxJXdD87xYqE6422uGq8mDMLs,8420
347
- junifer-0.0.6.dev527.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
348
- junifer-0.0.6.dev527.dist-info/entry_points.txt,sha256=6O8ru0BP-SP7YMUZiizFNoaZ2HvJpadO2G7nKk4PwjI,48
349
- junifer-0.0.6.dev527.dist-info/top_level.txt,sha256=4bAq1R2QFQ4b3hohjys2JBvxrl0GKk5LNFzYvz9VGcA,8
350
- junifer-0.0.6.dev527.dist-info/RECORD,,
344
+ junifer-0.0.6.dev536.dist-info/licenses/AUTHORS.rst,sha256=rmULKpchpSol4ExWFdm-qu4fkpSZPYqIESVJBZtGb6E,163
345
+ junifer-0.0.6.dev536.dist-info/licenses/LICENSE.md,sha256=MqCnOBu8uXsEOzRZWh9EBVfVz-kE9NkXcLCrtGXo2yU,34354
346
+ junifer-0.0.6.dev536.dist-info/METADATA,sha256=AzQT3btyWGNgZ2dvjq42ZlYrQmaKwdUPVwpkky2NeH4,8442
347
+ junifer-0.0.6.dev536.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
348
+ junifer-0.0.6.dev536.dist-info/entry_points.txt,sha256=6O8ru0BP-SP7YMUZiizFNoaZ2HvJpadO2G7nKk4PwjI,48
349
+ junifer-0.0.6.dev536.dist-info/top_level.txt,sha256=4bAq1R2QFQ4b3hohjys2JBvxrl0GKk5LNFzYvz9VGcA,8
350
+ junifer-0.0.6.dev536.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (77.0.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5