vanvalenlab / deepcell-label

Cloud-based data annotation tools for biological images
https://label.deepcell.org
Other
76 stars 14 forks source link

Undoing brush edit in overwrite / overlap mode bug #387

Open ykevu opened 2 years ago

ykevu commented 2 years ago

Describe the bug If you use overlap or overwrite mode to brush one cell over/into another cell, then undo, then refresh, there will be a hole where you overlapped (if overlap) or the overwrite undo will not have gone through.

ykevu commented 1 year ago

@rossbar I think something similar / related to this bug happened when doing a test run with Martin today, actually. If I remember correctly, each segmentation tool was used and then undid (not even in overwrite/overlap mode), and then submitted. Upon refreshing, the background had become a random cell (likely due to the use of flood and then undo).

The root cause is likely broadly related to either export or IndexedDB not properly syncing with segmentation-related undo events.