ngio 0.4.5__py3-none-any.whl → 0.4.6__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.
ngio/images/_image.py CHANGED
@@ -875,7 +875,7 @@ def _parse_str_or_model(
875
875
  )
876
876
  elif channel_selection.mode == "wavelength_id":
877
877
  return image.get_channel_idx(
878
- channel_label=str(channel_selection.identifier)
878
+ wavelength_id=str(channel_selection.identifier)
879
879
  )
880
880
  elif channel_selection.mode == "index":
881
881
  return int(channel_selection.identifier)
@@ -359,7 +359,7 @@ ImplementedTables().add_implementation(ConditionTableV1)
359
359
  def open_tables_container(
360
360
  store: StoreOrGroup,
361
361
  cache: bool = False,
362
- mode: AccessModeLiteral = "a",
362
+ mode: AccessModeLiteral = "r+",
363
363
  parallel_safe: bool = False,
364
364
  ) -> TablesContainer:
365
365
  """Open a table handler from a Zarr store."""
@@ -373,7 +373,7 @@ def open_table(
373
373
  store: StoreOrGroup,
374
374
  backend: TableBackend | None = None,
375
375
  cache: bool = False,
376
- mode: AccessModeLiteral = "a",
376
+ mode: AccessModeLiteral = "r+",
377
377
  parallel_safe: bool = False,
378
378
  ) -> Table:
379
379
  """Open a table from a Zarr store."""
@@ -391,7 +391,7 @@ def open_table_as(
391
391
  table_cls: type[TableType],
392
392
  backend: TableBackend | None = None,
393
393
  cache: bool = False,
394
- mode: AccessModeLiteral = "a",
394
+ mode: AccessModeLiteral = "r+",
395
395
  parallel_safe: bool = False,
396
396
  ) -> TableType:
397
397
  """Open a table from a Zarr store as a specific type."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ngio
3
- Version: 0.4.5
3
+ Version: 0.4.6
4
4
  Summary: Next Generation file format IO
5
5
  Project-URL: homepage, https://github.com/BioVisionCenter/ngio
6
6
  Project-URL: repository, https://github.com/BioVisionCenter/ngio
@@ -20,7 +20,7 @@ ngio/images/__init__.py,sha256=9Whvt7GTiCgT_vXaEEqGnDaY1-UsRk3dhLTv091F_g4,1211
20
20
  ngio/images/_abstract_image.py,sha256=hrB9xn4MFRxnxE1d7HKnM8SXVPUGhMD9u32yBHTsFiU,18517
21
21
  ngio/images/_create.py,sha256=61cuco2jUK25WzOY-Sel9s931FtGPL2ut25L9W10bJ4,10171
22
22
  ngio/images/_create_synt_container.py,sha256=il_rr5_2KIQ5Xsskj2rb2fEm100ZErZq89aW06kn_7k,5444
23
- ngio/images/_image.py,sha256=GDUmBhoTj9js7rC785g3__l_xSH1oKSgx2AAAr25OSM,33053
23
+ ngio/images/_image.py,sha256=aMJb-YDghbZIHfSzY8ZoTmScEOqNfWQzJFO2AoMCdF4,33053
24
24
  ngio/images/_label.py,sha256=Se3ZpgXDArtLHPlx9pw8Rnr5pZ_sEkmbeMh9sU63ncg,11799
25
25
  ngio/images/_masked_image.py,sha256=YhbBzgPZMav6rX0WYue1BaxAzEIsfaQrxUIOK6ZWZcw,18848
26
26
  ngio/images/_ome_zarr_container.py,sha256=UJERXEgBkwclpLaHzWqUIQc6P-TG4zYuKuxPukJGa4Y,38433
@@ -55,7 +55,7 @@ ngio/resources/20200812-CardiomyocyteDifferentiation14-Cycle1_B03/nuclei.png,sha
55
55
  ngio/resources/20200812-CardiomyocyteDifferentiation14-Cycle1_B03/raw.jpg,sha256=82lejQAIokj5w9g-qqhysDTWpHtNvJTkdURG_BjqIxQ,37743
56
56
  ngio/tables/__init__.py,sha256=_BV3sclNMLITu_J8_3DkkUrCB6Kro0HzeWLDCD1ivKM,877
57
57
  ngio/tables/_abstract_table.py,sha256=rwGa47TzbFmosucBWVfFq6JEXtgGvOdUVtU9DIelV88,8204
58
- ngio/tables/_tables_container.py,sha256=3xmpREaN671l40MPprnl1BD-VoOb6xfjECb5mNoMW0w,12173
58
+ ngio/tables/_tables_container.py,sha256=jB3iVlUnJdMIBUqfuZDtPkiEI9haL19Bz-QfJ0BUwl4,12176
59
59
  ngio/tables/backends/__init__.py,sha256=MwSRXNF1rWQBFOTDA_vT3oGoNZpviVgytsL5Txnu08I,1619
60
60
  ngio/tables/backends/_abstract_backend.py,sha256=54Vh9yPfLx1NixGVfFkW4msD51nsim0zIfHRnO80Xt8,7276
61
61
  ngio/tables/backends/_anndata.py,sha256=97RWG4Hjc42JBxm-YxjHEU8HHd14NiayelKlI1PTsCo,2868
@@ -79,7 +79,7 @@ ngio/utils/_errors.py,sha256=pKQ12LUjQLYE1nUawemA5h7HsgznjaSvV1n2PQU33N0,759
79
79
  ngio/utils/_fractal_fsspec_store.py,sha256=RdcCFOgHexRKX9zZvJV5RI-5OPc7VOPS6q_IeRxm24I,1548
80
80
  ngio/utils/_logger.py,sha256=N5W0a_xwze4blS1MolidBkTMbjTbg8GPguJZNun3mAE,1392
81
81
  ngio/utils/_zarr_utils.py,sha256=GUOcAx02IcfrJ5tIdKu8ChtRUUaBbkkddW5jaCCYnS8,13797
82
- ngio-0.4.5.dist-info/METADATA,sha256=6g28iSwZ32mHJmEmOYOFaixVkTyQa-xaCy50teScyjk,6137
83
- ngio-0.4.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
84
- ngio-0.4.5.dist-info/licenses/LICENSE,sha256=UgN_a1QCeNh9rZWfz-wORQFxE3elQzLWPQaoK6N6fxQ,1502
85
- ngio-0.4.5.dist-info/RECORD,,
82
+ ngio-0.4.6.dist-info/METADATA,sha256=swcrfn7bpQliiDtVbWuUOf-JMMgK6zEfkXeh9Qv8fxg,6137
83
+ ngio-0.4.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
84
+ ngio-0.4.6.dist-info/licenses/LICENSE,sha256=UgN_a1QCeNh9rZWfz-wORQFxE3elQzLWPQaoK6N6fxQ,1502
85
+ ngio-0.4.6.dist-info/RECORD,,
File without changes