-
-
Notifications
You must be signed in to change notification settings - Fork 329
fix:*-like creation routines take kwargs #2992
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
Open
d-v-b
wants to merge
19
commits into
zarr-developers:main
Choose a base branch
from
d-v-b:fix/zeros-like-takes-kwargs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5ddd68c
ensure that user-provided array creation kwargs can pass through arra…
d-v-b 61f7008
test for kwarg propagation through array-like routines
d-v-b 6328336
propagate fill value if unspecified
d-v-b 71e76a0
Merge branch 'main' into fix/zeros-like-takes-kwargs
d-v-b aac415e
changelog
d-v-b 9d419eb
Merge branch 'fix/zeros-like-takes-kwargs' of https://github.com/d-v-…
d-v-b 98feed3
Update 2992.fix.rst
d-v-b c3149a6
Merge branch 'main' into fix/zeros-like-takes-kwargs
d-v-b cf8c4e3
Merge branch 'main' of https://github.com/zarr-developers/zarr-python…
d-v-b 94294dc
add test for open_like
d-v-b cb132bd
Update 2992.fix.rst
d-v-b aa129cc
lint
d-v-b 26ad110
Merge branch 'main' into fix/zeros-like-takes-kwargs
d-v-b 7b8b0f9
Merge branch 'main' into fix/zeros-like-takes-kwargs
d-v-b cb99615
Merge branch 'main' of https://github.com/zarr-developers/zarr-python…
d-v-b 3893e55
add likeargs typeddict
d-v-b 19b1ce2
explicitly iterate over functions in test
d-v-b d29f682
add test cases for fill_value in test_array_like_creation
d-v-b 36bda1d
use correct type: ignore statement
d-v-b File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Fix a bug preventing ``ones_like``, ``full_like``, ``empty_like``, ``zeros_like`` and ``open_like`` functions from accepting | ||
an explicit specification of array attributes like shape, dtype, chunks etc. The functions ``full_like``, | ||
``empty_like``, and ``open_like`` now also more consistently infer a ``fill_value`` parameter from the provided array. |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.