Skip to content

Commit ffdd54a

Browse files
committed
format
1 parent 64754f7 commit ffdd54a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

wkcuber/export_wkw_as_tiff.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ def export_tiff_slice(
140140
tiff_bbox = tiff_bbox.copy()
141141
number_of_slices = min(tiff_bbox["size"][2] - batch_number * batch_size, batch_size)
142142
tiff_bbox["size"] = [tiff_bbox["size"][0], tiff_bbox["size"][1], number_of_slices]
143-
tiff_bbox["topleft"] = [tiff_bbox["topleft"][0], tiff_bbox["topleft"][1], tiff_bbox["topleft"][2] + batch_number * batch_size]
143+
tiff_bbox["topleft"] = [
144+
tiff_bbox["topleft"][0],
145+
tiff_bbox["topleft"][1],
146+
tiff_bbox["topleft"][2] + batch_number * batch_size,
147+
]
144148

145149
with wkw.Dataset.open(dataset_path) as dataset:
146150
if tiling_size is None:

0 commit comments

Comments
 (0)