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

fix: allow but warn all runtime errors in 3D find_a_max_patch_shape() #361

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

qin-yu
Copy link
Collaborator

@qin-yu qin-yu commented Nov 21, 2024

In this PR I only updated the try ... catch ... for 3D. The 2D case won't be limited by the layer INT_MAX constraint because the largest patch is 1 x 3200 x 3200 which is also tested now.

Tests are updated too.

@qin-yu qin-yu added the bug Something isn't working label Nov 21, 2024
@qin-yu qin-yu self-assigned this Nov 21, 2024
@qin-yu
Copy link
Collaborator Author

qin-yu commented Nov 21, 2024

I don't think it's the problem from PlantSeg because nothing has been changed for the bioimage.io part:

=========================== short test summary info ============================
FAILED tests/core/test_zoo.py::TestBioImageIOModelZoo::test_get_model_by_id[efficient-chipmunk] - ValueError: Failed to load efficient-chipmunk
FAILED tests/core/test_zoo.py::TestBioImageIOModelZoo::test_get_model_by_id[pioneering-rhino] - ValueError: Failed to load pioneering-rhino
FAILED tests/core/test_zoo.py::TestBioImageIOModelZoo::test_halo_computation_for_bioimageio_model[efficient-chipmunk] - ValueError: Failed to load efficient-chipmunk
FAILED tests/core/test_zoo.py::TestBioImageIOModelZoo::test_halo_computation_for_bioimageio_model[pioneering-rhino] - ValueError: Failed to load pioneering-rhino
======= 4 failed, 126 passed, 11 skipped, 3 warnings in 65.19s (0:01:05) =======

I'll merge it with the failed tests.

@qin-yu qin-yu merged commit 37f8f1c into master Nov 21, 2024
1 of 2 checks passed
@qin-yu qin-yu deleted the qy/fix-patch-size-finder branch November 25, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant