Closed MosGeo closed 2 years ago
This is the behavior of the default, builtins napari reader. I think it's a good idea! I'll see if it's something I can implement.
Edit: OK, so looking more carefully, the default behavior of is to use the scene name, but for images with just 1 scene that defaults to the image ID, which by OME standard is Image:#
.
PR incoming..
Use Case
When loading simple images without information attached, e.g. jpg, png, and so on, the layer name is just
image:0
. I would expect napari-aicsimageio to use the filename as a layer name if no metadata is found in the file.Solution
Layer name should be taken from the metadata if it is available. If it is not available, filename (without extension) can be used.