Skip to content

Commit

Permalink
got rid of attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
freemansw1 committed Nov 13, 2024
1 parent 2a3cf62 commit 6725463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tobac/segmentation/watershed_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ def segmentation(

# create our output dataarray
segmentation_out_data = (
field.astype("int64", casting="unsafe")
xr.zeros_like(field, dtype=int)
.rename("segmentation_mask")
.assign_attrs(threshold=threshold)
)
Expand Down

0 comments on commit 6725463

Please sign in to comment.