Skip to content

Commit b3e1fc0

Browse files
committed
Chore: rename extract patch
1 parent 6535a2b commit b3e1fc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/dataset_ng/image_stack/test_in_memory_image_stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_extract_channels(array_stack, channels):
4343
data, image_stack = array_stack
4444
data_shape = data.shape
4545

46-
patch = image_stack.extract_channel_patch(
46+
patch = image_stack.extract_patch(
4747
sample_idx=1,
4848
channels=channels,
4949
coords=(10, 10),
@@ -80,7 +80,7 @@ def test_extract_channel_error(array_stack, channels):
8080
)
8181

8282
with pytest.raises(ValueError, match=expected_msg):
83-
image_stack.extract_channel_patch(
83+
image_stack.extract_patch(
8484
sample_idx=0,
8585
channels=channels,
8686
coords=(0, 0),

0 commit comments

Comments
 (0)