From 89a208c012e2937bb9cea811888e13721406edd4 Mon Sep 17 00:00:00 2001 From: jluethi Date: Fri, 19 Jul 2024 10:54:23 +0200 Subject: [PATCH] Minor updates napari.yaml & comment --- src/napari_ome_zarr_navigator/napari.yaml | 2 +- src/napari_ome_zarr_navigator/roi_loader.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/napari_ome_zarr_navigator/napari.yaml b/src/napari_ome_zarr_navigator/napari.yaml index 6190fbe..d16a99e 100644 --- a/src/napari_ome_zarr_navigator/napari.yaml +++ b/src/napari_ome_zarr_navigator/napari.yaml @@ -10,7 +10,7 @@ contributions: python_name: napari_ome_zarr_navigator:ImgBrowser title: Image Browser - id: napari-ome-zarr-navigator.make_roi_loader - python_name: napari_ome_zarr_navigator:ROILoaderImage + python_name: napari_ome_zarr_navigator.roi_loader:ROILoaderImage title: ROI Loader - id: napari-ome-zarr-navigator.hiPSC_zarr python_name: napari_ome_zarr_navigator._sample_data:hiPSC_zarr diff --git a/src/napari_ome_zarr_navigator/roi_loader.py b/src/napari_ome_zarr_navigator/roi_loader.py index 182a6d2..1c41a91 100644 --- a/src/napari_ome_zarr_navigator/roi_loader.py +++ b/src/napari_ome_zarr_navigator/roi_loader.py @@ -364,6 +364,10 @@ def __init__( self._zarr_picker.choices = zarr_images self._zarr_picker._default_choices = zarr_images + # # Handle defaults for plate loading + # if "well_ROI_table" in self._roi_table_picker.choices: + # self._roi_table_picker.value = "well_ROI_table" + def get_available_ome_zarr_images(self): well_url = f"{self.plate_url}/{self.row}/{self.col}" well_meta = load_NgffWellMeta(well_url)