Skip to content

Commit a9f9987

Browse files
monai-botwyli
andauthored
auto updates (Project-MONAI#5445)
Signed-off-by: monai-bot <[email protected]> - auto style fixing - bump versioneer to 0.23 from 0.19 Signed-off-by: monai-bot <[email protected]> Signed-off-by: Wenqi Li <[email protected]> Co-authored-by: Wenqi Li <[email protected]>
1 parent 5bdef46 commit a9f9987

9 files changed

+690
-266
lines changed

monai/_version.py

+190-58
Large diffs are not rendered by default.

monai/apps/pathology/transforms/post/array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self, connectivity: Optional[int] = 1, dtype: DtypeLike = np.uint8)
5353
self.connectivity = connectivity
5454
self.dtype = dtype
5555

56-
def __call__( # type: ignore
56+
def __call__(
5757
self, image: NdarrayOrTensor, mask: Optional[NdarrayOrTensor] = None, markers: Optional[NdarrayOrTensor] = None
5858
) -> NdarrayOrTensor:
5959
"""

tests/test_generate_instance_border.py

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
np.random.RandomState(123)
2424

25-
2625
for p in TEST_NDARRAYS:
2726
EXCEPTION_TESTS.append(
2827
[

tests/test_generate_instance_borderd.py

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
np.random.RandomState(123)
2424

25-
2625
for p in TEST_NDARRAYS:
2726
EXCEPTION_TESTS.append(
2827
[

tests/test_generate_watershed_mask.py

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
np.random.RandomState(123)
2828

29-
3029
for p in TEST_NDARRAYS:
3130
EXCEPTION_TESTS.append(
3231
[

tests/test_generate_watershed_maskd.py

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
np.random.RandomState(123)
2828

29-
3029
for p in TEST_NDARRAYS:
3130
EXCEPTION_TESTS.append(
3231
[

tests/test_sobel_gradient.py

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
torch.cat([OUTPUT_3x3[0:1], OUTPUT_3x3[1:2] + 0.5]),
8383
]
8484

85-
8685
TEST_CASE_KERNEL_0 = [
8786
{"kernel_size": 3, "dtype": torch.float64},
8887
(torch.tensor([-0.5, 0.0, 0.5], dtype=torch.float64), torch.tensor([0.25, 0.5, 0.25], dtype=torch.float64)),

tests/test_sobel_gradientd.py

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
OUTPUT_3x3_ZERO_PAD[1, 7, 0] = OUTPUT_3x3_ZERO_PAD[1, 7, -1] = 3.0 / 8.0
3535
OUTPUT_3x3_ZERO_PAD[1, 9, 0] = OUTPUT_3x3_ZERO_PAD[1, 9, -1] = -3.0 / 8.0
3636

37-
3837
TEST_CASE_0 = [{"image": IMAGE}, {"keys": "image", "kernel_size": 3, "dtype": torch.float32}, {"image": OUTPUT_3x3}]
3938
TEST_CASE_1 = [{"image": IMAGE}, {"keys": "image", "kernel_size": 3, "dtype": torch.float64}, {"image": OUTPUT_3x3}]
4039
TEST_CASE_2 = [

0 commit comments

Comments
 (0)