Repository navigation
(chore): zarr v3 updates for xarray - #1888
Merged
Merged
Conversation
ilan-gold
commented
Mar 5, 2025
Contributor
- Closes #
- Tests added
- Release note added (or unnecessary)
Co-authored-by: Philipp A. <flying-sheep@web.de>
Co-authored-by: Philipp A. <flying-sheep@web.de>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ig/xarray_compat #1888 +/- ##
====================================================
+ Coverage 84.25% 84.38% +0.13%
====================================================
Files 45 45
Lines 6669 6763 +94
====================================================
+ Hits 5619 5707 +88
- Misses 1050 1056 +6
🚀 New features to boost your workflow:
|
ilan-gold
marked this pull request as ready for review
March 6, 2025 18:56
ilan-gold
added a commit
that referenced
this pull request
Mar 13, 2025
…ng + `read_elem_as_dask` -> `read_elem_lazy` (#1247) * (fix): change unused category function from method to function * (fix): actually track keys instead of relying on `deafultdict` behavior * (chore): test unconsolidated warning * Update pyproject.toml Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): use `test-full`/`test` * (fix): typing for `_gen_dataframe` * (chore): imrpoved comments for `Dataset2D` * (fix): `iloc` is an `attr` not a `meth` * (fix): release notes * (fix): `zarr` doc in `read_backed` * (fix): docs string * (fix): wording in release note * (chore): move `_remove_unused_categories` to static method * (chore): use one `isinstance` call in `coerce_arrays` * (chore): clean up `read_dataframe` * (chore): handle case where `chunks` is not needed * (chore): make reusable `LazyDataStructures` * (chore): use `Path.suffix` * (chore): `msg` for `warnings` * (chore): remove erroneous `Union` in `TypeVar` * (fix): use `cached_property` for accessing `dtype` + test * (refactor): use `cached_property` for `categories` * (refactor): use guard clause in `__getitem__` better * (chore): type `get_index_dim` * (fix): `shape` return type * (refactor): `_subset` guard clause * (fix): use `Counter` * (refactor): `fix_known_differences` usage of `as_type` * (chore): fragment * (chore): fix the generic problem * (chore): clean up tests * Update tests/test_read_backed_experimental.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): should -> shall * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): `_gen_xarray_dict_iterator_from_elems` -> `_gen_xarray_dict_iterator_from_elems` * (feat): indexing with `DataArray` * (fix): check h5 store * (fix):check `DataArray` closer * (fix): clean up `api.md` from merge * (fix): remove `read_elem_as_dask` docs reference * (chore): add notebooks/read_backed_experimental * (chore): update notebooks * (refactor): set `pytestmark` at the top * (chore): clarify comment * (refactor): add `assert_access_count` method for `AccessTrackingStore` * (refactor): `read_backed`->`read_lazy` * (fix): actually `read_backed` -> `read_lazy` * (chore): time to require `aiohttp` `fsspec` and `zarr` and `requests` * Merge branch 'main' into ig/xarray_compat * (chore): update notebook * (fix): actually only read `index` once * (chore): add `concat` test * (feat): add `columns` compat * (fix): type of subset * (fix): `MaskedArray` `dtype * (fix): add `index.setter` * (chore): add `concat` compat for xarray * (fix): refactor concat for in-memory * (chore): add rest of test * (feat): allow for concat with masked type using dask * (refactor): own function for concat xarray * (fix): add basic off-axis mapping without reading in i.e just an index * (feat): add merge for alt annot * (fix): notebook * (fix): NaS in sparse dask * (chore): add `X` tracker * (chore): add more robust matrix type tests * (fix): ok now notebooks? * (feat): fix additional index load * (feat): no-load index * (fix): only use range indices for `{obs,var}` * (chore): add range index testing * (fix): ensure `{obs,var}_names` always exists on dataset * (fix): only use `use_range_index` on `{obs,var}` * (fix): don't check uniqueness to prevent index load + rename variable * (fix): check for presence of indexing key * always return `index` object * (fix): remove unnecessary check? * (chore): update notebook * (fix): docstring class * (fix): explicit 1d chunking for `concat` * (chore): change `concat` test name * (chore): rename test file * (chore): rename notebook * (chore): clarify `load_annotation_index` * (fix): allow concatenation along arbitrary index + indexing test * (fix): notebook path in docs * (fix): don't copy column in dataset concat * (fix): actually test h5 * (feat): add h5ad concat support * (fix): add docsting example * (fix): catch warnings * (fix): format * (fix): threaded tests annotation index * (fix): remove xarray test from minimum deps * (fix): skip experimental backed tests if xarray not installed * (chore): remove todo * (feat): add `uns` reading * (feat): add `Raw` reading + tests * (chore): make `test-full` shorter * (fix): stricter type checking * (fix): dtype casting for concat * (chore): separate into two cleaner unit tests * (fix): typing of `make_xarray_extension_dtypes_dask * (chore): remove comment * (fix): clean up compat * (chore): xarray raises import error for `read_lazy` * (fix) ignore some uncovered lines * use existing warn import * merge * (chore): add awkward `nitpick_ignore` comment * (refactor): use generator for new datasets * (chore): docs + types in `merge.py` * (recactor): use set for `index_name` in `merge.py` * (refactor): comprehension for `{alt_}annotations_in_memory` * (chore): types in `lazy_methods.py` * (chore): `lazy_methods.py` index handling made clearer * (chore): move comment * (chore): dedupe `read_params` usage * (chore): `**kwargs` usage doesn't affect call when empty * (fix): clean up `_lazy_arrays.py` typing * (fix): no assert, raise ValueError * (fix): use `get` instead of membership check + no in-place * (chore): pytest mark to beginning + `diskfmt` -> `diskfmt` + thread safety using `worker_id` * (fix): remove resetting key trackers * (fix): adata only has 4 cchunks in test, udpate comment * (chore): better use arrange-act-assert * (chore): ids for boolean params * (chore): contextlib + better assert objects * (chore): refactor concatenation for arrange-act-assert * (fix): notebook submodule * (fix): use `find_spec` pattern * (chore): re-insert types for `AccessTrackingStore` * (chore): dedent docstrings * (chore): raise error if slots have changed on `ZarrOrHDF5Wrapper` * (fix): add slots to please xarray * (chore): remove redefinition * (refactor): reuse join type * (fix): mixed type dataframe merging * (fix): condition for going to memory in mixed typing * (refactor): mixed type helper function * (fix): try linking to dask/awkward in docs build * (fix): awkward array docs * (chore): `ValueError` -> `AssertionError` * (fix): clean up `_lazy_arrays.py` * (fix): `ValueError`->`KeyError` for store * (chore): add note about `unify_extension_dtypes` * (chore): add ids * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): move all changes form anndata_elem * (fix): `read_elem_as_dask`->`read_elem_lazy` * (chore): refactor `test_read_lazy` fixtures * Update tests/test_read_lazy.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (chore): restore types * (fix): do `randint` * (chore): ermove slots check * (fix): return read_lazy * (fix): concating with hdf5 and cluster obviates need for locks works with normal pytest * (fix): add warning catch * (chore): good chunk size * (chore): remove duplicated line * (chore): use a simpler read mechanism for remote io * (fix): docs * (chore): docs note * (fix): missing element shape * (fix): correct shape for empty element in concat with dask * (chore): add test * (fix): handling of off axis size when no-dask array * (fix): ruff * (fix): add `dask` bound for sparse issue * (chore): relnote * (fix): undo scientific python changes * (fix): no `mod` dask * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (chore): add comment about processes * (feat): add `nullable-string` support * (fix): test name * (chore): add a doc string * (fix): clarify `categories` read behavior * (chore): doc * (chore): ellipses for shortened docstring test * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * centralize dev setup * "useEditorconfig": true * (fix): dont coerce awkward * (fix): materialize dask array * (feat): finish handling of `nullable-string-array` * (fix): silence warning by using `StringDtype` directly instead of `string` * (refactor): simplify xarray `dim` -- pandas `index` interplay * (chore): rename test files * (refactor): clarify `test_concat_to_memory_var` * (fix): throw away zeros for numpy-backed dask array * (chore): loosen restriction on merged part * (feat): drop requirement that indices must match * (fix): mark tests properly * (fix): string dtype issues * (fix): ensure dummy indices are string typed instead of range for indexing ops * (chore): raise `TypeError` not `ValueError` * (chore): pyproject.toml comment * (refactor): use `doctest_needs` marker * (fix): remove runtime `pytest` dep * skip conditionally * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): pytest skipping * (chore): `zarr` v3 updates for `xarray` (#1888) * (wip): support for new zarr version * (chore): create setting for write version * (fix): pathing issue * (chore): use `open_group` * (fix): another `zarr.open` * (fix): `zarr_write_version` -> `zarr_write_format` * (feat): batched reading for sparse * (fix): object codec * (fix): revert compressed vectors * (feat): scalar support * (fix): `open_group` for v3 * (fix): backed sparse copy method * (fix): add speed-up for zarr by batching indexing * (fix): no `__len__` on new zarr arrays * (fix): some v3 fixes * Specify mode with kwarg * chore: typing fixes * (fix): more `create_dataset` args * format->version * clear properly * dynamic format/version * Centralize version comparison * Fix most create_dataset errors * unpin zarr everywhere * Almost fix docs * (fix): compression test * (fix): tracking store * (fix): `as_group` `mode` arg * (fix): temporary fix for writing from zarr array * (fix): more context issues * (fix): no `chunks` `bool` arg * (fix): return `item` for array * (chore): add issue * Bump scanpydoc version * (chore): add zarr v2 test * (chore): add warning for zarr v2 * (fix): fix tracking tests for zarr v2 * (chore): refactor a bit * (fix): revert zarr v2 test * (fix): setting on group test * (fix): reopening issue * (fix): using zip files for backwards compat * (fix): temporary fix for `empty` * (fix): io dispatched keys test * (fix): sparse array access tracking * (fix): more reopen zarr store * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): lazy reading * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): ensure v2 group is made * (fix): add `visititems` * (fix): point zarr at main * (fix): don't provide `VLenUTF8Codec` for default string * (fix): doctest * (fix): move off the zarr main branch * (fix): pin zarr in benchmarks * (feat): zarr v2 handling in tests * (fix): warning on `zarr.open` * (fix): `create_array` instead of `create_dataset` * (chore): remove whitespace * (fix): bring back zip files after fixing zarr bug * (chore): relnote * (chore): clarify comment * (fix): cleaner `X` check * (fix): wrong operator * (fix): read in `zarr` zip correctly * (chore): relnote * merge * (fix): bound zarr * (chore): unbound zarr * (chore): update `zarr` dep * (fix): del `append_data` after use * (chore): revert h5 sparse_as_dense * Update src/anndata/_core/sparse_dataset.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): cleaner `fitlers, dtype` * (fix): type of `write_scalar_group` * (chore): future warning -> deprecation warning * Update src/anndata/_io/specs/methods.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (chore): remove nested if-then * (fix): scalar condition * (chore): disallow zarr 3 * (chore): update message * (fix): zarr v3 fixes * (chore): comment * (fix): docs --------- Co-authored-by: Phil Schaf <flying-sheep@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * (chore): notebooks * (fix): notebooks * (chore): remove zarr import checks * Merge branch 'main' into ig/xarray_compat --------- Co-authored-by: Philipp A. <flying-sheep@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ilan-gold
added a commit
that referenced
this pull request
Mar 21, 2025
* (chore): imrpoved comments for `Dataset2D`
* (fix): `iloc` is an `attr` not a `meth`
* (fix): release notes
* (fix): `zarr` doc in `read_backed`
* (fix): docs string
* (fix): wording in release note
* (chore): move `_remove_unused_categories` to static method
* (chore): use one `isinstance` call in `coerce_arrays`
* (chore): clean up `read_dataframe`
* (chore): handle case where `chunks` is not needed
* (chore): make reusable `LazyDataStructures`
* (chore): use `Path.suffix`
* (chore): `msg` for `warnings`
* (chore): remove erroneous `Union` in `TypeVar`
* (fix): use `cached_property` for accessing `dtype` + test
* (refactor): use `cached_property` for `categories`
* (refactor): use guard clause in `__getitem__` better
* (chore): type `get_index_dim`
* (fix): `shape` return type
* (refactor): `_subset` guard clause
* (fix): use `Counter`
* (refactor): `fix_known_differences` usage of `as_type`
* (chore): fragment
* (chore): fix the generic problem
* (chore): clean up tests
* Update tests/test_read_backed_experimental.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): should -> shall
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): `_gen_xarray_dict_iterator_from_elems` -> `_gen_xarray_dict_iterator_from_elems`
* (feat): indexing with `DataArray`
* (fix): check h5 store
* (fix):check `DataArray` closer
* (fix): clean up `api.md` from merge
* (fix): remove `read_elem_as_dask` docs reference
* (chore): add notebooks/read_backed_experimental
* (chore): update notebooks
* (refactor): set `pytestmark` at the top
* (chore): clarify comment
* (refactor): add `assert_access_count` method for `AccessTrackingStore`
* (refactor): `read_backed`->`read_lazy`
* (fix): actually `read_backed` -> `read_lazy`
* (chore): time to require `aiohttp` `fsspec` and `zarr` and `requests`
* Merge branch 'main' into ig/xarray_compat
* (chore): update notebook
* (fix): actually only read `index` once
* (chore): add `concat` test
* (feat): add `columns` compat
* (fix): type of subset
* (fix): `MaskedArray` `dtype
* (fix): add `index.setter`
* (chore): add `concat` compat for xarray
* (fix): refactor concat for in-memory
* (chore): add rest of test
* (feat): allow for concat with masked type using dask
* (refactor): own function for concat xarray
* (fix): add basic off-axis mapping without reading in i.e just an index
* (feat): add merge for alt annot
* (fix): notebook
* (fix): NaS in sparse dask
* (chore): add `X` tracker
* (chore): add more robust matrix type tests
* (fix): ok now notebooks?
* (feat): fix additional index load
* (feat): no-load index
* (fix): only use range indices for `{obs,var}`
* (chore): add range index testing
* (fix): ensure `{obs,var}_names` always exists on dataset
* (fix): only use `use_range_index` on `{obs,var}`
* (fix): don't check uniqueness to prevent index load + rename variable
* (fix): check for presence of indexing key
* always return `index` object
* (fix): remove unnecessary check?
* (chore): update notebook
* (fix): docstring class
* (fix): explicit 1d chunking for `concat`
* (chore): change `concat` test name
* (chore): rename test file
* (chore): rename notebook
* (chore): clarify `load_annotation_index`
* (fix): allow concatenation along arbitrary index + indexing test
* (fix): notebook path in docs
* (fix): don't copy column in dataset concat
* (fix): actually test h5
* (feat): add h5ad concat support
* (fix): add docsting example
* (fix): catch warnings
* (fix): format
* (fix): threaded tests annotation index
* (fix): remove xarray test from minimum deps
* (fix): skip experimental backed tests if xarray not installed
* (chore): remove todo
* (feat): add `uns` reading
* (feat): add `Raw` reading + tests
* (chore): make `test-full` shorter
* (fix): stricter type checking
* (fix): dtype casting for concat
* (chore): separate into two cleaner unit tests
* (fix): typing of `make_xarray_extension_dtypes_dask
* (chore): remove comment
* (fix): clean up compat
* (chore): xarray raises import error for `read_lazy`
* (fix) ignore some uncovered lines
* use existing warn import
* merge
* (chore): add awkward `nitpick_ignore` comment
* (refactor): use generator for new datasets
* (chore): docs + types in `merge.py`
* (recactor): use set for `index_name` in `merge.py`
* (refactor): comprehension for `{alt_}annotations_in_memory`
* (chore): types in `lazy_methods.py`
* (chore): `lazy_methods.py` index handling made clearer
* (chore): move comment
* (chore): dedupe `read_params` usage
* (chore): `**kwargs` usage doesn't affect call when empty
* (fix): clean up `_lazy_arrays.py` typing
* (fix): no assert, raise ValueError
* (fix): use `get` instead of membership check + no in-place
* (chore): pytest mark to beginning + `diskfmt` -> `diskfmt` + thread safety using `worker_id`
* (fix): remove resetting key trackers
* (fix): adata only has 4 cchunks in test, udpate comment
* (chore): better use arrange-act-assert
* (chore): ids for boolean params
* (chore): contextlib + better assert objects
* (chore): refactor concatenation for arrange-act-assert
* (fix): notebook submodule
* (fix): use `find_spec` pattern
* (chore): re-insert types for `AccessTrackingStore`
* (chore): dedent docstrings
* (chore): raise error if slots have changed on `ZarrOrHDF5Wrapper`
* (fix): add slots to please xarray
* (chore): remove redefinition
* (refactor): reuse join type
* (fix): mixed type dataframe merging
* (fix): condition for going to memory in mixed typing
* (refactor): mixed type helper function
* (fix): try linking to dask/awkward in docs build
* (fix): awkward array docs
* (chore): `ValueError` -> `AssertionError`
* (fix): clean up `_lazy_arrays.py`
* (fix): `ValueError`->`KeyError` for store
* (chore): add note about `unify_extension_dtypes`
* (chore): add ids
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): move all changes form anndata_elem
* (fix): `read_elem_as_dask`->`read_elem_lazy`
* (chore): refactor `test_read_lazy` fixtures
* Update tests/test_read_lazy.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (chore): restore types
* (fix): do `randint`
* (chore): ermove slots check
* (fix): return read_lazy
* (fix): concating with hdf5 and cluster obviates need for locks works with normal pytest
* (fix): add warning catch
* (chore): good chunk size
* (chore): remove duplicated line
* (chore): use a simpler read mechanism for remote io
* (fix): docs
* (chore): docs note
* (fix): missing element shape
* (fix): correct shape for empty element in concat with dask
* (chore): add test
* (fix): handling of off axis size when no-dask array
* (fix): ruff
* (fix): add `dask` bound for sparse issue
* (chore): relnote
* (fix): undo scientific python changes
* (fix): no `mod` dask
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (chore): add comment about processes
* (feat): add `nullable-string` support
* (fix): test name
* (chore): add a doc string
* (fix): clarify `categories` read behavior
* (chore): doc
* (chore): ellipses for shortened docstring test
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* centralize dev setup
* "useEditorconfig": true
* (fix): dont coerce awkward
* (fix): materialize dask array
* (feat): finish handling of `nullable-string-array`
* (fix): silence warning by using `StringDtype` directly instead of `string`
* (refactor): simplify xarray `dim` -- pandas `index` interplay
* (chore): rename test files
* (refactor): clarify `test_concat_to_memory_var`
* (fix): throw away zeros for numpy-backed dask array
* (chore): loosen restriction on merged part
* (feat): drop requirement that indices must match
* (fix): mark tests properly
* (fix): string dtype issues
* (fix): ensure dummy indices are string typed instead of range for indexing ops
* (chore): raise `TypeError` not `ValueError`
* (chore): pyproject.toml comment
* (refactor): use `doctest_needs` marker
* (fix): remove runtime `pytest` dep
* skip conditionally
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (fix): pytest skipping
* (chore): disallow xarray writes
* (chore): clarify `to_memory` behavior
* (chore): relnote
* (chore): fix relnote + clarification
* (chore): cut down number of tests
* (chore): `zarr` v3 updates for `xarray` (#1888)
* (wip): support for new zarr version
* (chore): create setting for write version
* (fix): pathing issue
* (chore): use `open_group`
* (fix): another `zarr.open`
* (fix): `zarr_write_version` -> `zarr_write_format`
* (feat): batched reading for sparse
* (fix): object codec
* (fix): revert compressed vectors
* (feat): scalar support
* (fix): `open_group` for v3
* (fix): backed sparse copy method
* (fix): add speed-up for zarr by batching indexing
* (fix): no `__len__` on new zarr arrays
* (fix): some v3 fixes
* Specify mode with kwarg
* chore: typing fixes
* (fix): more `create_dataset` args
* format->version
* clear properly
* dynamic format/version
* Centralize version comparison
* Fix most create_dataset errors
* unpin zarr everywhere
* Almost fix docs
* (fix): compression test
* (fix): tracking store
* (fix): `as_group` `mode` arg
* (fix): temporary fix for writing from zarr array
* (fix): more context issues
* (fix): no `chunks` `bool` arg
* (fix): return `item` for array
* (chore): add issue
* Bump scanpydoc version
* (chore): add zarr v2 test
* (chore): add warning for zarr v2
* (fix): fix tracking tests for zarr v2
* (chore): refactor a bit
* (fix): revert zarr v2 test
* (fix): setting on group test
* (fix): reopening issue
* (fix): using zip files for backwards compat
* (fix): temporary fix for `empty`
* (fix): io dispatched keys test
* (fix): sparse array access tracking
* (fix): more reopen zarr store
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (fix): lazy reading
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (fix): ensure v2 group is made
* (fix): add `visititems`
* (fix): point zarr at main
* (fix): don't provide `VLenUTF8Codec` for default string
* (fix): doctest
* (fix): move off the zarr main branch
* (fix): pin zarr in benchmarks
* (feat): zarr v2 handling in tests
* (fix): warning on `zarr.open`
* (fix): `create_array` instead of `create_dataset`
* (chore): remove whitespace
* (fix): bring back zip files after fixing zarr bug
* (chore): relnote
* (chore): clarify comment
* (fix): cleaner `X` check
* (fix): wrong operator
* (fix): read in `zarr` zip correctly
* (chore): relnote
* merge
* (fix): bound zarr
* (chore): unbound zarr
* (chore): update `zarr` dep
* (fix): del `append_data` after use
* (chore): revert h5 sparse_as_dense
* Update src/anndata/_core/sparse_dataset.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): cleaner `fitlers, dtype`
* (fix): type of `write_scalar_group`
* (chore): future warning -> deprecation warning
* Update src/anndata/_io/specs/methods.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (chore): remove nested if-then
* (fix): scalar condition
* (chore): disallow zarr 3
* (chore): update message
* (fix): zarr v3 fixes
* (chore): comment
* (fix): docs
---------
Co-authored-by: Phil Schaf <flying-sheep@web.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* (fix): `psutil`
* (chore): fully test paths
* (chore): remove redundant zarr instal;
* (fix): apply suggestions
* (fix): remove unused parameter
---------
Co-authored-by: Philipp A. <flying-sheep@web.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
barlowa124
pushed a commit
to barlowa124/anndata
that referenced
this pull request
Dec 4, 2026
…ng + `read_elem_as_dask` -> `read_elem_lazy` (scverse#1247) * (fix): change unused category function from method to function * (fix): actually track keys instead of relying on `deafultdict` behavior * (chore): test unconsolidated warning * Update pyproject.toml Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): use `test-full`/`test` * (fix): typing for `_gen_dataframe` * (chore): imrpoved comments for `Dataset2D` * (fix): `iloc` is an `attr` not a `meth` * (fix): release notes * (fix): `zarr` doc in `read_backed` * (fix): docs string * (fix): wording in release note * (chore): move `_remove_unused_categories` to static method * (chore): use one `isinstance` call in `coerce_arrays` * (chore): clean up `read_dataframe` * (chore): handle case where `chunks` is not needed * (chore): make reusable `LazyDataStructures` * (chore): use `Path.suffix` * (chore): `msg` for `warnings` * (chore): remove erroneous `Union` in `TypeVar` * (fix): use `cached_property` for accessing `dtype` + test * (refactor): use `cached_property` for `categories` * (refactor): use guard clause in `__getitem__` better * (chore): type `get_index_dim` * (fix): `shape` return type * (refactor): `_subset` guard clause * (fix): use `Counter` * (refactor): `fix_known_differences` usage of `as_type` * (chore): fragment * (chore): fix the generic problem * (chore): clean up tests * Update tests/test_read_backed_experimental.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): should -> shall * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): `_gen_xarray_dict_iterator_from_elems` -> `_gen_xarray_dict_iterator_from_elems` * (feat): indexing with `DataArray` * (fix): check h5 store * (fix):check `DataArray` closer * (fix): clean up `api.md` from merge * (fix): remove `read_elem_as_dask` docs reference * (chore): add notebooks/read_backed_experimental * (chore): update notebooks * (refactor): set `pytestmark` at the top * (chore): clarify comment * (refactor): add `assert_access_count` method for `AccessTrackingStore` * (refactor): `read_backed`->`read_lazy` * (fix): actually `read_backed` -> `read_lazy` * (chore): time to require `aiohttp` `fsspec` and `zarr` and `requests` * Merge branch 'main' into ig/xarray_compat * (chore): update notebook * (fix): actually only read `index` once * (chore): add `concat` test * (feat): add `columns` compat * (fix): type of subset * (fix): `MaskedArray` `dtype * (fix): add `index.setter` * (chore): add `concat` compat for xarray * (fix): refactor concat for in-memory * (chore): add rest of test * (feat): allow for concat with masked type using dask * (refactor): own function for concat xarray * (fix): add basic off-axis mapping without reading in i.e just an index * (feat): add merge for alt annot * (fix): notebook * (fix): NaS in sparse dask * (chore): add `X` tracker * (chore): add more robust matrix type tests * (fix): ok now notebooks? * (feat): fix additional index load * (feat): no-load index * (fix): only use range indices for `{obs,var}` * (chore): add range index testing * (fix): ensure `{obs,var}_names` always exists on dataset * (fix): only use `use_range_index` on `{obs,var}` * (fix): don't check uniqueness to prevent index load + rename variable * (fix): check for presence of indexing key * always return `index` object * (fix): remove unnecessary check? * (chore): update notebook * (fix): docstring class * (fix): explicit 1d chunking for `concat` * (chore): change `concat` test name * (chore): rename test file * (chore): rename notebook * (chore): clarify `load_annotation_index` * (fix): allow concatenation along arbitrary index + indexing test * (fix): notebook path in docs * (fix): don't copy column in dataset concat * (fix): actually test h5 * (feat): add h5ad concat support * (fix): add docsting example * (fix): catch warnings * (fix): format * (fix): threaded tests annotation index * (fix): remove xarray test from minimum deps * (fix): skip experimental backed tests if xarray not installed * (chore): remove todo * (feat): add `uns` reading * (feat): add `Raw` reading + tests * (chore): make `test-full` shorter * (fix): stricter type checking * (fix): dtype casting for concat * (chore): separate into two cleaner unit tests * (fix): typing of `make_xarray_extension_dtypes_dask * (chore): remove comment * (fix): clean up compat * (chore): xarray raises import error for `read_lazy` * (fix) ignore some uncovered lines * use existing warn import * merge * (chore): add awkward `nitpick_ignore` comment * (refactor): use generator for new datasets * (chore): docs + types in `merge.py` * (recactor): use set for `index_name` in `merge.py` * (refactor): comprehension for `{alt_}annotations_in_memory` * (chore): types in `lazy_methods.py` * (chore): `lazy_methods.py` index handling made clearer * (chore): move comment * (chore): dedupe `read_params` usage * (chore): `**kwargs` usage doesn't affect call when empty * (fix): clean up `_lazy_arrays.py` typing * (fix): no assert, raise ValueError * (fix): use `get` instead of membership check + no in-place * (chore): pytest mark to beginning + `diskfmt` -> `diskfmt` + thread safety using `worker_id` * (fix): remove resetting key trackers * (fix): adata only has 4 cchunks in test, udpate comment * (chore): better use arrange-act-assert * (chore): ids for boolean params * (chore): contextlib + better assert objects * (chore): refactor concatenation for arrange-act-assert * (fix): notebook submodule * (fix): use `find_spec` pattern * (chore): re-insert types for `AccessTrackingStore` * (chore): dedent docstrings * (chore): raise error if slots have changed on `ZarrOrHDF5Wrapper` * (fix): add slots to please xarray * (chore): remove redefinition * (refactor): reuse join type * (fix): mixed type dataframe merging * (fix): condition for going to memory in mixed typing * (refactor): mixed type helper function * (fix): try linking to dask/awkward in docs build * (fix): awkward array docs * (chore): `ValueError` -> `AssertionError` * (fix): clean up `_lazy_arrays.py` * (fix): `ValueError`->`KeyError` for store * (chore): add note about `unify_extension_dtypes` * (chore): add ids * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): move all changes form anndata_elem * (fix): `read_elem_as_dask`->`read_elem_lazy` * (chore): refactor `test_read_lazy` fixtures * Update tests/test_read_lazy.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (chore): restore types * (fix): do `randint` * (chore): ermove slots check * (fix): return read_lazy * (fix): concating with hdf5 and cluster obviates need for locks works with normal pytest * (fix): add warning catch * (chore): good chunk size * (chore): remove duplicated line * (chore): use a simpler read mechanism for remote io * (fix): docs * (chore): docs note * (fix): missing element shape * (fix): correct shape for empty element in concat with dask * (chore): add test * (fix): handling of off axis size when no-dask array * (fix): ruff * (fix): add `dask` bound for sparse issue * (chore): relnote * (fix): undo scientific python changes * (fix): no `mod` dask * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (chore): add comment about processes * (feat): add `nullable-string` support * (fix): test name * (chore): add a doc string * (fix): clarify `categories` read behavior * (chore): doc * (chore): ellipses for shortened docstring test * Apply suggestions from code review Co-authored-by: Philipp A. <flying-sheep@web.de> * centralize dev setup * "useEditorconfig": true * (fix): dont coerce awkward * (fix): materialize dask array * (feat): finish handling of `nullable-string-array` * (fix): silence warning by using `StringDtype` directly instead of `string` * (refactor): simplify xarray `dim` -- pandas `index` interplay * (chore): rename test files * (refactor): clarify `test_concat_to_memory_var` * (fix): throw away zeros for numpy-backed dask array * (chore): loosen restriction on merged part * (feat): drop requirement that indices must match * (fix): mark tests properly * (fix): string dtype issues * (fix): ensure dummy indices are string typed instead of range for indexing ops * (chore): raise `TypeError` not `ValueError` * (chore): pyproject.toml comment * (refactor): use `doctest_needs` marker * (fix): remove runtime `pytest` dep * skip conditionally * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): pytest skipping * (chore): `zarr` v3 updates for `xarray` (scverse#1888) * (wip): support for new zarr version * (chore): create setting for write version * (fix): pathing issue * (chore): use `open_group` * (fix): another `zarr.open` * (fix): `zarr_write_version` -> `zarr_write_format` * (feat): batched reading for sparse * (fix): object codec * (fix): revert compressed vectors * (feat): scalar support * (fix): `open_group` for v3 * (fix): backed sparse copy method * (fix): add speed-up for zarr by batching indexing * (fix): no `__len__` on new zarr arrays * (fix): some v3 fixes * Specify mode with kwarg * chore: typing fixes * (fix): more `create_dataset` args * format->version * clear properly * dynamic format/version * Centralize version comparison * Fix most create_dataset errors * unpin zarr everywhere * Almost fix docs * (fix): compression test * (fix): tracking store * (fix): `as_group` `mode` arg * (fix): temporary fix for writing from zarr array * (fix): more context issues * (fix): no `chunks` `bool` arg * (fix): return `item` for array * (chore): add issue * Bump scanpydoc version * (chore): add zarr v2 test * (chore): add warning for zarr v2 * (fix): fix tracking tests for zarr v2 * (chore): refactor a bit * (fix): revert zarr v2 test * (fix): setting on group test * (fix): reopening issue * (fix): using zip files for backwards compat * (fix): temporary fix for `empty` * (fix): io dispatched keys test * (fix): sparse array access tracking * (fix): more reopen zarr store * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): lazy reading * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): ensure v2 group is made * (fix): add `visititems` * (fix): point zarr at main * (fix): don't provide `VLenUTF8Codec` for default string * (fix): doctest * (fix): move off the zarr main branch * (fix): pin zarr in benchmarks * (feat): zarr v2 handling in tests * (fix): warning on `zarr.open` * (fix): `create_array` instead of `create_dataset` * (chore): remove whitespace * (fix): bring back zip files after fixing zarr bug * (chore): relnote * (chore): clarify comment * (fix): cleaner `X` check * (fix): wrong operator * (fix): read in `zarr` zip correctly * (chore): relnote * merge * (fix): bound zarr * (chore): unbound zarr * (chore): update `zarr` dep * (fix): del `append_data` after use * (chore): revert h5 sparse_as_dense * Update src/anndata/_core/sparse_dataset.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (fix): cleaner `fitlers, dtype` * (fix): type of `write_scalar_group` * (chore): future warning -> deprecation warning * Update src/anndata/_io/specs/methods.py Co-authored-by: Philipp A. <flying-sheep@web.de> * (chore): remove nested if-then * (fix): scalar condition * (chore): disallow zarr 3 * (chore): update message * (fix): zarr v3 fixes * (chore): comment * (fix): docs --------- Co-authored-by: Phil Schaf <flying-sheep@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * (chore): notebooks * (fix): notebooks * (chore): remove zarr import checks * Merge branch 'main' into ig/xarray_compat --------- Co-authored-by: Philipp A. <flying-sheep@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
barlowa124
pushed a commit
to barlowa124/anndata
that referenced
this pull request
Dec 4, 2026
* (chore): imrpoved comments for `Dataset2D`
* (fix): `iloc` is an `attr` not a `meth`
* (fix): release notes
* (fix): `zarr` doc in `read_backed`
* (fix): docs string
* (fix): wording in release note
* (chore): move `_remove_unused_categories` to static method
* (chore): use one `isinstance` call in `coerce_arrays`
* (chore): clean up `read_dataframe`
* (chore): handle case where `chunks` is not needed
* (chore): make reusable `LazyDataStructures`
* (chore): use `Path.suffix`
* (chore): `msg` for `warnings`
* (chore): remove erroneous `Union` in `TypeVar`
* (fix): use `cached_property` for accessing `dtype` + test
* (refactor): use `cached_property` for `categories`
* (refactor): use guard clause in `__getitem__` better
* (chore): type `get_index_dim`
* (fix): `shape` return type
* (refactor): `_subset` guard clause
* (fix): use `Counter`
* (refactor): `fix_known_differences` usage of `as_type`
* (chore): fragment
* (chore): fix the generic problem
* (chore): clean up tests
* Update tests/test_read_backed_experimental.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): should -> shall
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): `_gen_xarray_dict_iterator_from_elems` -> `_gen_xarray_dict_iterator_from_elems`
* (feat): indexing with `DataArray`
* (fix): check h5 store
* (fix):check `DataArray` closer
* (fix): clean up `api.md` from merge
* (fix): remove `read_elem_as_dask` docs reference
* (chore): add notebooks/read_backed_experimental
* (chore): update notebooks
* (refactor): set `pytestmark` at the top
* (chore): clarify comment
* (refactor): add `assert_access_count` method for `AccessTrackingStore`
* (refactor): `read_backed`->`read_lazy`
* (fix): actually `read_backed` -> `read_lazy`
* (chore): time to require `aiohttp` `fsspec` and `zarr` and `requests`
* Merge branch 'main' into ig/xarray_compat
* (chore): update notebook
* (fix): actually only read `index` once
* (chore): add `concat` test
* (feat): add `columns` compat
* (fix): type of subset
* (fix): `MaskedArray` `dtype
* (fix): add `index.setter`
* (chore): add `concat` compat for xarray
* (fix): refactor concat for in-memory
* (chore): add rest of test
* (feat): allow for concat with masked type using dask
* (refactor): own function for concat xarray
* (fix): add basic off-axis mapping without reading in i.e just an index
* (feat): add merge for alt annot
* (fix): notebook
* (fix): NaS in sparse dask
* (chore): add `X` tracker
* (chore): add more robust matrix type tests
* (fix): ok now notebooks?
* (feat): fix additional index load
* (feat): no-load index
* (fix): only use range indices for `{obs,var}`
* (chore): add range index testing
* (fix): ensure `{obs,var}_names` always exists on dataset
* (fix): only use `use_range_index` on `{obs,var}`
* (fix): don't check uniqueness to prevent index load + rename variable
* (fix): check for presence of indexing key
* always return `index` object
* (fix): remove unnecessary check?
* (chore): update notebook
* (fix): docstring class
* (fix): explicit 1d chunking for `concat`
* (chore): change `concat` test name
* (chore): rename test file
* (chore): rename notebook
* (chore): clarify `load_annotation_index`
* (fix): allow concatenation along arbitrary index + indexing test
* (fix): notebook path in docs
* (fix): don't copy column in dataset concat
* (fix): actually test h5
* (feat): add h5ad concat support
* (fix): add docsting example
* (fix): catch warnings
* (fix): format
* (fix): threaded tests annotation index
* (fix): remove xarray test from minimum deps
* (fix): skip experimental backed tests if xarray not installed
* (chore): remove todo
* (feat): add `uns` reading
* (feat): add `Raw` reading + tests
* (chore): make `test-full` shorter
* (fix): stricter type checking
* (fix): dtype casting for concat
* (chore): separate into two cleaner unit tests
* (fix): typing of `make_xarray_extension_dtypes_dask
* (chore): remove comment
* (fix): clean up compat
* (chore): xarray raises import error for `read_lazy`
* (fix) ignore some uncovered lines
* use existing warn import
* merge
* (chore): add awkward `nitpick_ignore` comment
* (refactor): use generator for new datasets
* (chore): docs + types in `merge.py`
* (recactor): use set for `index_name` in `merge.py`
* (refactor): comprehension for `{alt_}annotations_in_memory`
* (chore): types in `lazy_methods.py`
* (chore): `lazy_methods.py` index handling made clearer
* (chore): move comment
* (chore): dedupe `read_params` usage
* (chore): `**kwargs` usage doesn't affect call when empty
* (fix): clean up `_lazy_arrays.py` typing
* (fix): no assert, raise ValueError
* (fix): use `get` instead of membership check + no in-place
* (chore): pytest mark to beginning + `diskfmt` -> `diskfmt` + thread safety using `worker_id`
* (fix): remove resetting key trackers
* (fix): adata only has 4 cchunks in test, udpate comment
* (chore): better use arrange-act-assert
* (chore): ids for boolean params
* (chore): contextlib + better assert objects
* (chore): refactor concatenation for arrange-act-assert
* (fix): notebook submodule
* (fix): use `find_spec` pattern
* (chore): re-insert types for `AccessTrackingStore`
* (chore): dedent docstrings
* (chore): raise error if slots have changed on `ZarrOrHDF5Wrapper`
* (fix): add slots to please xarray
* (chore): remove redefinition
* (refactor): reuse join type
* (fix): mixed type dataframe merging
* (fix): condition for going to memory in mixed typing
* (refactor): mixed type helper function
* (fix): try linking to dask/awkward in docs build
* (fix): awkward array docs
* (chore): `ValueError` -> `AssertionError`
* (fix): clean up `_lazy_arrays.py`
* (fix): `ValueError`->`KeyError` for store
* (chore): add note about `unify_extension_dtypes`
* (chore): add ids
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): move all changes form anndata_elem
* (fix): `read_elem_as_dask`->`read_elem_lazy`
* (chore): refactor `test_read_lazy` fixtures
* Update tests/test_read_lazy.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (chore): restore types
* (fix): do `randint`
* (chore): ermove slots check
* (fix): return read_lazy
* (fix): concating with hdf5 and cluster obviates need for locks works with normal pytest
* (fix): add warning catch
* (chore): good chunk size
* (chore): remove duplicated line
* (chore): use a simpler read mechanism for remote io
* (fix): docs
* (chore): docs note
* (fix): missing element shape
* (fix): correct shape for empty element in concat with dask
* (chore): add test
* (fix): handling of off axis size when no-dask array
* (fix): ruff
* (fix): add `dask` bound for sparse issue
* (chore): relnote
* (fix): undo scientific python changes
* (fix): no `mod` dask
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (chore): add comment about processes
* (feat): add `nullable-string` support
* (fix): test name
* (chore): add a doc string
* (fix): clarify `categories` read behavior
* (chore): doc
* (chore): ellipses for shortened docstring test
* Apply suggestions from code review
Co-authored-by: Philipp A. <flying-sheep@web.de>
* centralize dev setup
* "useEditorconfig": true
* (fix): dont coerce awkward
* (fix): materialize dask array
* (feat): finish handling of `nullable-string-array`
* (fix): silence warning by using `StringDtype` directly instead of `string`
* (refactor): simplify xarray `dim` -- pandas `index` interplay
* (chore): rename test files
* (refactor): clarify `test_concat_to_memory_var`
* (fix): throw away zeros for numpy-backed dask array
* (chore): loosen restriction on merged part
* (feat): drop requirement that indices must match
* (fix): mark tests properly
* (fix): string dtype issues
* (fix): ensure dummy indices are string typed instead of range for indexing ops
* (chore): raise `TypeError` not `ValueError`
* (chore): pyproject.toml comment
* (refactor): use `doctest_needs` marker
* (fix): remove runtime `pytest` dep
* skip conditionally
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (fix): pytest skipping
* (chore): disallow xarray writes
* (chore): clarify `to_memory` behavior
* (chore): relnote
* (chore): fix relnote + clarification
* (chore): cut down number of tests
* (chore): `zarr` v3 updates for `xarray` (scverse#1888)
* (wip): support for new zarr version
* (chore): create setting for write version
* (fix): pathing issue
* (chore): use `open_group`
* (fix): another `zarr.open`
* (fix): `zarr_write_version` -> `zarr_write_format`
* (feat): batched reading for sparse
* (fix): object codec
* (fix): revert compressed vectors
* (feat): scalar support
* (fix): `open_group` for v3
* (fix): backed sparse copy method
* (fix): add speed-up for zarr by batching indexing
* (fix): no `__len__` on new zarr arrays
* (fix): some v3 fixes
* Specify mode with kwarg
* chore: typing fixes
* (fix): more `create_dataset` args
* format->version
* clear properly
* dynamic format/version
* Centralize version comparison
* Fix most create_dataset errors
* unpin zarr everywhere
* Almost fix docs
* (fix): compression test
* (fix): tracking store
* (fix): `as_group` `mode` arg
* (fix): temporary fix for writing from zarr array
* (fix): more context issues
* (fix): no `chunks` `bool` arg
* (fix): return `item` for array
* (chore): add issue
* Bump scanpydoc version
* (chore): add zarr v2 test
* (chore): add warning for zarr v2
* (fix): fix tracking tests for zarr v2
* (chore): refactor a bit
* (fix): revert zarr v2 test
* (fix): setting on group test
* (fix): reopening issue
* (fix): using zip files for backwards compat
* (fix): temporary fix for `empty`
* (fix): io dispatched keys test
* (fix): sparse array access tracking
* (fix): more reopen zarr store
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (fix): lazy reading
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* (fix): ensure v2 group is made
* (fix): add `visititems`
* (fix): point zarr at main
* (fix): don't provide `VLenUTF8Codec` for default string
* (fix): doctest
* (fix): move off the zarr main branch
* (fix): pin zarr in benchmarks
* (feat): zarr v2 handling in tests
* (fix): warning on `zarr.open`
* (fix): `create_array` instead of `create_dataset`
* (chore): remove whitespace
* (fix): bring back zip files after fixing zarr bug
* (chore): relnote
* (chore): clarify comment
* (fix): cleaner `X` check
* (fix): wrong operator
* (fix): read in `zarr` zip correctly
* (chore): relnote
* merge
* (fix): bound zarr
* (chore): unbound zarr
* (chore): update `zarr` dep
* (fix): del `append_data` after use
* (chore): revert h5 sparse_as_dense
* Update src/anndata/_core/sparse_dataset.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (fix): cleaner `fitlers, dtype`
* (fix): type of `write_scalar_group`
* (chore): future warning -> deprecation warning
* Update src/anndata/_io/specs/methods.py
Co-authored-by: Philipp A. <flying-sheep@web.de>
* (chore): remove nested if-then
* (fix): scalar condition
* (chore): disallow zarr 3
* (chore): update message
* (fix): zarr v3 fixes
* (chore): comment
* (fix): docs
---------
Co-authored-by: Phil Schaf <flying-sheep@web.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* (fix): `psutil`
* (chore): fully test paths
* (chore): remove redundant zarr instal;
* (fix): apply suggestions
* (fix): remove unused parameter
---------
Co-authored-by: Philipp A. <flying-sheep@web.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.