Skip to content

Commit a8f2938

Browse files
committed
Merge branch 'sam-viz' of https://github.com/mbasheer04/tiatoolbox into sam-viz
2 parents 7b403c9 + 2cb7d9c commit a8f2938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiatoolbox/models/engine/general_segmentor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def to_annotation(
247247
for i in range(len(masks)):
248248
polygons = mask_to_polygons(masks[i])
249249
# Add extracted polygons to the annotation store
250-
props = {"score": f"{scores[i]}", "type": f"Mask {i+1}"}
250+
props = {"score": f"{scores[i]}", "type": f"Mask {i + 1}"}
251251
for poly in polygons:
252252
annotation = Annotation(geometry=poly, properties=props)
253253
store.append(annotation)

0 commit comments

Comments
 (0)