Commit 897914b
Add Zarr to benchmarks (#446)
* WIP
* More tests passing
* Fix df read bug
* More tests passing after fixing zero-dimensional get bug in pizzarr
* WIP: writing
* Fix more tests
* Zarr df writing
* WIP: ZarrAnnData class
* Tests passing
* Tests that compare h5ad to zarr
* Use Rarr to read full numeric arrays
* Fix bugs. Add test for from_SingleCellExperiment with Zarr
* Add a to_dense param to ZarrAnnData constructor. Add overwrite params internally.
* Update
* Backwards dense/sparse
* Simplify how obs and var names handled in ZarrAnnData (similar to #171)
* update extdata and documentation
* fix set/get zarr _index, update text example.zarr and update tests similar to HDF5AnnData
* Fix test
* Revert unnecessary changes
* Formatting
* Add comments
* remove unnecessary example zarr store
* lintr and R check for zarr related utilities and functions, updated some documentation
* add pizzarr to Suggests and README
* proj
* add keller-mark/pizzarr to Remotes
* zip example.zarr
* adapt read_zarr to Rarr
* adapt write_zarr to Rarr
* remove old scripts
* update write_zarr
* initial update to ZarrAnnData
* update ZarrAnnData, documentation, and implement read_zarr_rec_array
* review read zarr helpers, and update tests
* update read_zarr, read tests pass
* some updates for writing zarr
* update write_empty_zarr
* remove pizzarr, update documentation
* remove pizzarr from tests
* fix test-ZarrAnnData
* update ZarrAnnData to imitate HDF5AnnData
* check redundant files, correct lines
* update example_h5ad.py, add zarr and change to example_files.py
* add new test example
* some linting changes
* remove read/write_zattrs since implemented in Rarr
* access read/write_zarr_attr
* add some missing tests
* update readers, update tests
* correct nullable string zarr array write/read, introduce ordering in categorical zarr array
* do some linting, fix commented out code
* update some zarr writers and classes
* fix documentation
* fix compression interface for zarr
* full lint check
* fix examples
* check, biocheck and lintr
* fix development status
* air format
* air format test
* update example.zarr.zip, skip some test (waiting for Rarr)
* update example.zarr, fix some read_zarr_
* fix examples
* remove overwrite
* R code styling
* fixes from @lazappi
* air format
* update some documentation
* fix some tests
* more fixes on anndata-zarr integration
* update ZarrAnnData$initialize
* update zarr compression
* fix column-order here, C based ordering for arrays
* implement roundtrip tests for anndata-zarr
* add zarr to vignettes
* update README and software_design.rmd
* update AnnData-usage
* update write_zarr documentation
* update write_zarr_null
* fix rec_array, update tests and example datasets
* fix duplicate chunks in Rmd
* add write_zarr_null
* update write string array (zarr), air and lint
* implement writing empty zarr elements
* update tests for rec_array conformance of h5ad and zarr
* update mapping conformance test for h5ad and zarr
* implement H5_ITER like ordering and fix h5ad vs zarr testing
* air and lint
* fix test bug
* do not call expect_equal outside of test
* implement examples, test and datasets for zarr v3
* fix issues, lint and update example datasets to new anndata version
* lint and merge
* revert some lines
* small changes
* revert small changes
* air format some tests
* Set v2 in write_zarr_* helpers
* Fix stop message in write_zarr_element()
* Fix roxygen comment in write_zarr_element()
* Expand compression list in as_ZarrAnnData()
* Fix H5_ITER_INC_ORDERING docs
* Fix as_ZarrAnnData() compression docs
* Fix Zarr varm roundtrip test
* Review duplicate entry in README
* Fix typo in AnnData-usage docs
* Fix comma in software design vignette
* Adjust class descriptions in software design vignette
* Roxygenise
* Minor text fixes
* Document .get_compressor
* Minor fixes to function docs
* Comment logic in create_zarr_group()
* Fix indentation in read_zarr_sparse_array()
* Add construct sparse matrix helper
* Add ZARR_METADATA_FILES vector
* Eval Zarr chunks in vignettes
* Merge test-Zarrv3-read.R into test-Zarr-read.R
* Combine roundtrip tests
* Add roundtrip test helpers
* Refactor test-h5ad-zarr.R to use helper
* Refactor example files script
- Use uv comments for dependencies
- Update dependencies to latest stable versions
- Add progress messages
- Use Ruff for formatting
* Remove H5_ITER_INC_ORDERING()
* Remove Zarr compression comment
* Fix factor creation in read_zarr_categorical()
* Pin Rarr version
* Delete existing Zarr path before writing
* Add helper functions for accessing Zarr keys
* Update read_zarr_element() error message
* Add dimname warnings to ZarrAnnData
* Add Zarr writeability checks/tests
* Roxygenise, lint, style
* Use setup-bioc for all GHA
* Update WORDLIST
* Add .venv to .Rbuildignore
* Clean up test output
* Add Zarr to benchmarks
* run air format
---------
Co-authored-by: Mark Keller <7525285+keller-mark@users.noreply.github.com>
Co-authored-by: Artur-man <artur-man@hotmail.com>
Co-authored-by: Robrecht Cannoodt <rcannood@gmail.com>1 parent 4269af5 commit 897914b
8 files changed
Lines changed: 214 additions & 24 deletions
File tree
- benchmarks
- lib
- suites
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
86 | 103 | | |
87 | 104 | | |
88 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
76 | 92 | | |
77 | 93 | | |
78 | 94 | | |
| |||
88 | 104 | | |
89 | 105 | | |
90 | 106 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
97 | 113 | | |
98 | 114 | | |
99 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
50 | 87 | | |
51 | 88 | | |
52 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
40 | 67 | | |
41 | 68 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | | - | |
30 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
31 | 44 | | |
32 | 45 | | |
33 | 46 | | |
| |||
55 | 68 | | |
56 | 69 | | |
57 | 70 | | |
58 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
59 | 74 | | |
60 | 75 | | |
61 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
| |||
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
126 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
127 | 151 | | |
128 | 152 | | |
129 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
60 | 105 | | |
61 | 106 | | |
0 commit comments