Skip to content

Conversation

@ericspod
Copy link
Member

@ericspod ericspod commented Jan 29, 2025

Fixes #8298.

Description

This includes the tests for the compressor argument when testing with Zarr before version 3.0 when this argument was deprecated. A fix to upgrade the version of pycln used is also included. The version of PyTorch is also fixed to below 2.6 to avoid issues with misuse of torch.load which must be addressed later.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

…ore 3.0

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
…at choices

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
@ericspod ericspod requested review from KumoLiu and Nic-Ma February 1, 2025 22:18
@KumoLiu
Copy link
Contributor

KumoLiu commented Feb 3, 2025

/build

Copy link
Contributor

@KumoLiu KumoLiu left a comment

Choose a reason for hiding this comment

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

Thanks for the update, LGTM.

@KumoLiu KumoLiu merged commit 8dcb9dc into Project-MONAI:dev Feb 3, 2025
28 checks passed
@ericspod ericspod deleted the zarr_test_fix branch February 3, 2025 14:32
phisanti pushed a commit to phisanti/MONAI-restormer that referenced this pull request Feb 7, 2025
)

Fixes Project-MONAI#8298.

### Description

This includes the tests for the `compressor` argument when testing with
Zarr before version 3.0 when this argument was deprecated. A fix to
upgrade the version of `pycln` used is also included. The version of
PyTorch is also fixed to below 2.6 to avoid issues with misuse of
`torch.load` which must be addressed later.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

---------

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
Can-Zhao pushed a commit to Can-Zhao/MONAI that referenced this pull request Mar 10, 2025
)

Fixes Project-MONAI#8298.

### Description

This includes the tests for the `compressor` argument when testing with
Zarr before version 3.0 when this argument was deprecated. A fix to
upgrade the version of `pycln` used is also included. The version of
PyTorch is also fixed to below 2.6 to avoid issues with misuse of
`torch.load` which must be addressed later.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

---------

Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk>
Signed-off-by: Can-Zhao <volcanofly@gmail.com>
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.

AttributeError: module 'zarr.storage' has no attribute 'DirectoryStore'

2 participants