Skip to content

Conversation

@ilia-kats
Copy link
Contributor

This uses the vlen-utf8 filter, which is one of the standard filters included with Python-Zarr.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 4819715507

  • 26 of 30 (86.67%) changed or added relevant lines in 3 files are covered.
  • 14 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-1.4%) to 85.012%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Filters.jl 22 23 95.65%
src/ZArray.jl 2 3 66.67%
src/metadata.jl 2 4 50.0%
Files with Coverage Reduction New Missed Lines %
src/ZArray.jl 2 94.29%
src/MaxLengthStrings.jl 5 33.33%
src/metadata.jl 7 78.49%
Totals Coverage Status
Change from base Build 4698045635: -1.4%
Covered Lines: 726
Relevant Lines: 854

💛 - Coveralls

ilia-kats added a commit to scverse/Muon.jl that referenced this pull request Apr 28, 2023
Only non-backed reading works currently. This requires
JuliaIO/Zarr.jl#116 and
JuliaIO/Zarr.jl#117
Copy link
Collaborator

@meggart meggart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for preparing this PR. It would be really nice to have VLenUTF8 support in here. I think technically the PR would be breaking because dumping a string vector into a zarr array would result into a different representation on disk as before. So I would make sure bunp the minor version in this PR to not forget.

struct SenMissArray{T,N} <: AbstractArray{Union{T,Missing},N}
x::Array{T,N}
senval::T
end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knwo this was a quite ad-hoc definition of SenMissArray, probably better to keep the sentinel value in a struct field instead of a type parameter. Now that the idea was taken up also here: https://github.com/JuliaData/SentinelArrays.jl it might be an option to just use that implementation. This should not stop this PR from being merged though.

@meggart meggart mentioned this pull request Jun 6, 2023
@meggart meggart merged commit 6be3259 into JuliaIO:master Jun 8, 2023
@coveralls
Copy link

coveralls commented May 20, 2024

Pull Request Test Coverage Report for Build 4819746815

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 27 of 32 (84.38%) changed or added relevant lines in 3 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.6%) to 85.814%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Filters.jl 22 23 95.65%
src/ZArray.jl 3 5 60.0%
src/metadata.jl 2 4 50.0%
Files with Coverage Reduction New Missed Lines %
src/MaxLengthStrings.jl 5 33.33%
Totals Coverage Status
Change from base Build 4698045635: -0.6%
Covered Lines: 738
Relevant Lines: 860

💛 - Coveralls

ilia-kats added a commit to scverse/Muon.jl that referenced this pull request Aug 26, 2025
Squashed commit of the following:

commit 649aa0a
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Tue Aug 26 15:11:46 2025 +0200

    enable unit tests for Zarr and make them pass

commit 8ed25ed
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Mon Aug 25 18:17:58 2025 +0200

    make tests pass again

commit 17bb1b2
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Mon Aug 25 16:09:11 2025 +0200

    update JuliaFormatter config and reformat everything

commit a702865
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Mon Aug 25 16:07:06 2025 +0200

    implement support for writing Zarr files

commit db9abf9
Merge: ef4d948 eefb2c6
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Fri Aug 22 15:20:40 2025 +0200

    Merge branch 'main' into zarr

commit ef4d948
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Fri Apr 28 15:00:31 2023 +0200

    split reading into separate functions for hdf5 and zarr

commit 22bde93
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Fri Apr 28 14:19:33 2023 +0200

    Zarr for mudata, some bugfixes for backed storage

commit c61faba
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Fri Apr 28 13:35:12 2023 +0200

    initial Zarr-backed AnnData support

commit 735cd1a
Author: Ilia Kats <ilia-kats@gmx.net>
Date:   Fri Apr 28 10:09:29 2023 +0200

    add basic Zarr support

    Only non-backed reading works currently. This requires
    JuliaIO/Zarr.jl#116 and
    JuliaIO/Zarr.jl#117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants