Context
https://webknossos.org/import?url=... doesn't work anymore since the virtual-dataset transition.
After initial investigation, there is a small bug and a conceptual problem.
The conceptual problem is that previously the dataset name was used to check whether the same dataset had already been imported. Because datasets with same names are now allowed in Webknossos, this is broken. I think it would be better to store the import URL in the dataset metadata and use that to deduplicate the dataset.
The import feature is important so that other websites can add "Annotate with Webknossos" buttons.
Steps to Reproduce the bug
https://webknossos.org/import?url=https://s3.janelia.org/lavis-lab/Dye_Bioavailability_images/Converted_OME-NGFF/JF608_Lung_20251024_Slide_23_of_2_Region_002_channels.zarr/
Context
https://webknossos.org/import?url=... doesn't work anymore since the virtual-dataset transition.
After initial investigation, there is a small bug and a conceptual problem.
The conceptual problem is that previously the dataset name was used to check whether the same dataset had already been imported. Because datasets with same names are now allowed in Webknossos, this is broken. I think it would be better to store the import URL in the dataset metadata and use that to deduplicate the dataset.
The import feature is important so that other websites can add "Annotate with Webknossos" buttons.
Steps to Reproduce the bug
https://webknossos.org/import?url=https://s3.janelia.org/lavis-lab/Dye_Bioavailability_images/Converted_OME-NGFF/JF608_Lung_20251024_Slide_23_of_2_Region_002_channels.zarr/