Open GenevieveBuckley opened 1 year ago
It's possible the fix for this might be as easy as changing the file mode to "d" in the magicgui call, but I haven't tried that out yet.
I think that's basically right, and then we can rename "create new labels layer" to "open/create new labels layer".
I think the
open_tensorstore
function should be exposed to the user via the zarpaint GUI. You can call this function directly from your code, but that makes it more difficult than it should be to open an existing set of labels and edit them with zarpaint.It's not clear to me whether you're supposed to be able to do this already through the "Create new labels layer" function in zarpaint, but the file widget picker won't allow you to select directories, which is a problem because the operating system treats the top level of any zarr dataset as a directory.
It's possible the fix for this might be as easy as changing the file mode to "d" in the magicgui call, but I haven't tried that out yet.