Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCS: add Plate spec #56

Closed
wants to merge 2 commits into from
Closed

HCS: add Plate spec #56

wants to merge 2 commits into from

Conversation

joshmoore
Copy link
Member

Setup:

mkfake my.plate
omero import my.plate.fake`
omero zarr export Plate:1

using ome/omero-cli-zarr#28

Output:

(z) /opt/ome-zarr-py $ome_zarr -vvvvv info /tmp/1.zarr/
DEBUG:ome_zarr.io:/tmp/1.zarr/.zarray does not exist
DEBUG:ome_zarr.reader:treating /private/tmp/1.zarr [zgroup] as Plate
INFO:ome_zarr.reader:root_attr: plate
DEBUG:ome_zarr.reader:{'columns': 1, 'rows': 1}
DEBUG:ome_zarr.io:open(LocalZarrLocation(/private/tmp/1.zarr/PlateAcquisition Name 0/A/1/Field_1))
DEBUG:ome_zarr.io:/private/tmp/1.zarr/PlateAcquisition Name 0/A/1/Field_1/.zgroup does not exist
DEBUG:ome_zarr.io:/private/tmp/1.zarr/PlateAcquisition Name 0/A/1/Field_1/.zattrs does not exist
DEBUG:ome_zarr.reader:treating /private/tmp/1.zarr [zgroup] as ome-zarr
DEBUG:ome_zarr.reader:returning /private/tmp/1.zarr [zgroup]
/private/tmp/1.zarr [zgroup]
 - metadata
   - Plate
 - data
DEBUG:ome_zarr.utils:[]
DEBUG:ome_zarr.reader:returning /private/tmp/1.zarr/PlateAcquisition Name 0/A/1/Field_1 [zarray]
not an ome-zarr: /private/tmp/1.zarr [zgroup]

@joshmoore
Copy link
Member Author

joshmoore commented Oct 21, 2020

Alternatively, calling viewer.grid_view() lays them out like this:

Screen Shot 2020-10-21 at 09 21 15

(original work in napari/napari#565)

Questions I have:

  • how to have a plugin trigger the grid view?
  • how to customize which field goes where? (metadata?)
  • how to allow some spacing between fields?

@will-moore
Copy link
Member

Testing this on a 96-well plate (idr0002 with no time data) and just 1 Field per well, I am finding that napari hangs after seeming to load all the data but nothing is displayed.

@will-moore
Copy link
Member

Tried again and after a while the idr0002 plate loaded: (local data, no Time-lapse images)
I guess the main issues are:

  • takes a long time to load a lot of images (96 well plate), even though they are not visible
  • All the channels are shown in one stack - In this case 2 channels per image/field, but for idr0033 it's 5 channels per Field and 384-well Plate
  • Channel names don't reflect position. E.g. A1 etc.

This approach might work on small plates

Screenshot 2020-10-22 at 14 47 26

Going to "grid" view, I needed to manually click every layer (192 times!) to turn on every image which gives this view:

Screenshot 2020-10-22 at 15 00 42

@joshmoore
Copy link
Member Author

Closing in favor of gh-57

@joshmoore joshmoore closed this Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants