Skip to content

Commit ba8de1a

Browse files
committed
fix segmentation for base_raster_cube
1 parent 05f4525 commit ba8de1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/api_segments.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
block = block
158158
)
159159
# Get tile bands
160-
tile_bands <- .tile_bands(
160+
tile_bands <- .tile_bands.raster_cube(
161161
tile = tile,
162162
add_cloud = FALSE
163163
)

tests/testthat/test-segmentation.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ test_that("Segmentation of large files",{
200200
seg_fn = sits_slic(
201201
step = 50,
202202
iter = 10,
203-
minarea = 100
203+
minarea = 50
204204
),
205205
output_dir = output_dir,
206206
multicores = 4,

0 commit comments

Comments
 (0)