Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore): add docs + settle on name #37

Merged
merged 71 commits into from
Nov 16, 2024
Merged

(chore): add docs + settle on name #37

merged 71 commits into from
Nov 16, 2024

Conversation

ilan-gold
Copy link
Owner

No description provided.

LDeakin and others added 30 commits October 22, 2024 10:37
* (fix): return bytes as numpy array

* (fix): reshape after making view
- Add internal `get_chunk_representation`, `retrieve_chunk_bytes`, and `store_chunk_bytes`
- Separate `retrieve_chunk` and `retrieve_chunk_subset`
- Separate `store_chunk` and `store_chunk_subset`
- Add assertions to simple.py
- Add config options
- CodecPipelineImpl interior mutability
* (fix): ci for running tests

* (fix): no need to extract tests

* (Fix): remove duplicate name

* (fix): use a submodule...

* (chore): remove memory store + port zarr codec tests

* (chore): remove `dlpark`

* (fix): getattr for itemsize

* (chore): remove runtime F ordering

* (chore): skip vlen

* (feat): parse int

---------

Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>
* (fix): minimum working codec pipeline

- Add internal `get_chunk_representation`, `retrieve_chunk_bytes`, and `store_chunk_bytes`
- Separate `retrieve_chunk` and `retrieve_chunk_subset`
- Separate `store_chunk` and `store_chunk_subset`
- Add assertions to simple.py

* (fix): handle relative filesystem paths

* (fix): minimal error handling and fix clippy warnings

* (fix): handle relative filesystem paths take 2

* (fix): constant handling

* (fix): add `retrieve_chunks` for parallel read

- Add config options
- CodecPipelineImpl interior mutability

* (fix): add `store_chunks` for parallel write

* (fix) convert write value to contiguous array if needed

* (fix): bump zarrs to 21e86cb9

* CI for codec pipeline (#20)

* (fix): ci for running tests

* (fix): no need to extract tests

* (Fix): remove duplicate name

* (fix): use a submodule...

* (chore): remove memory store + port zarr codec tests

* (chore): remove `dlpark`

* (fix): getattr for itemsize

* (chore): remove runtime F ordering

* (chore): skip vlen

* (feat): parse int

---------

Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>

* (fix): support writing arrays with non-native endianness

* (fix): disable bad/unsupported invalid metadata tests

* (fix): do not store empty chunks

* (fix) remove dead code in codec pipeline

* (fix): move some selection logic from Rust to Python

* (chore): `chunks_desc` cleanup

* (feat): adding concurrency via zarr config

* (chore): remove extra comment

* (fix): refactor chunk info creation + threads->threading + ruff

* (fix): use `or` for `threading.max_workers` getting

---------

Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>
* (chore): add pipeline-specific tests

* (chore): add more tests, including weird zarr one

* (fix): arr shape used in test

* (chore): change names

* (chore): remove unnecessary fill_value checking

* (chore): make roundtrip_full_array shorter

* (fix): handle singleton axis indexing

Fixes `test_roundtrip_singleton_axis` test

* (fix): deprecated numpy array to scalar in `make_slice_selection`

Fixes the `test_roundtrip_partial` test

---------

Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>
* (chore): add orthogonal indexing tests

* (fix): oindex roundtrip

* (fix): dont skip test because it works actually

* (fix): clean up returning
LDeakin and others added 6 commits November 15, 2024 21:29
* (fix): support zarr 3.0.0b2

* (fix): open store read_only in test_roundtrip_read_only_zarrs

* (fix): pin zarrs revision

I think an old version is cached?

* (chore): add Cargo.toml to uv dependency glob

* (fix): unquote uv dependency glob

* (chore): bump `zarrs` to 0.18.0-beta.0
ilan-gold and others added 3 commits November 15, 2024 14:50
Co-authored-by: Philipp A. <flying-sheep@web.de>

## Testing
There are two ways to control the concurrency of the i/o **TODO: Need to clarify this**
Copy link
Owner Author

Choose a reason for hiding this comment

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

Base automatically changed from ld/codec_pipeline to main November 15, 2024 18:45
@ilan-gold ilan-gold changed the title (chore): add docs (chore): add docs + settle on name Nov 15, 2024
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@LDeakin LDeakin left a comment

Choose a reason for hiding this comment

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

Looks good, aside from those minor questions.

I have a few branches lined up on top of this with concurrency changes + some more docs, but I'll wait for this to merge.

@ilan-gold
Copy link
Owner Author

I updated also to mention oindex as well so that's done

@ilan-gold ilan-gold merged commit 3c0a2b2 into main Nov 16, 2024
1 check passed
@ilan-gold ilan-gold deleted the ig/docs branch November 16, 2024 09:01
@flying-sheep flying-sheep mentioned this pull request Nov 18, 2024
1 task
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