-
Notifications
You must be signed in to change notification settings - Fork 13
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
Make Zarr3 default and deprecations #1242
base: master
Are you sure you want to change the base?
Conversation
…ibs into zarr3-default
@@ -264,7 +264,7 @@ def download_and_unpack( | |||
|
|||
BIOFORMATS_ARGS: list[tuple[str, str, dict, str, int, tuple[int, int, int], int]] = [ | |||
( | |||
"https://samples.scif.io/wtembryo.zip", | |||
"https://static.webknossos.org/data/wklibs-samples/wtembryo.zip", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using mirrors of the testdata to avoid dependence on external servers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great stuff 👍 I especially like the removal of all the deprecations.
However, I think I'm not yet fully understanding when allow_resize
can be specified and when not. see my one comment for that.
@@ -299,9 +241,8 @@ def _get_mag1_bbox( | |||
def write( | |||
self, | |||
data: np.ndarray, | |||
offset: Optional[Vec3IntLike] = None, # deprecated, relative, in current mag | |||
json_update_allowed: bool = True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why doesn't the View.write
method have a allow_resize
parameter (only MagView.write
has it currently)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment above. A View
doesn't have a reference to its Layer
, so it cannot resize the Layer
.
Co-authored-by: Philipp Otto <[email protected]>
Description:
allow_resize
andallow_unaligned
argument to make it more robust against accidental concurrency issuesIssues:
Todos:
allow_resize
behaviorallow_unaligned
argfrom_images
for unexpected bboxesMake sure to delete unnecessary points or to check all before merging: