Skip to content

Commit

Permalink
Add series0 column to flamingo.csv. Used for Thumbnail image path
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Oct 15, 2024
1 parent 1a2af45 commit 511c5d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions ome2024-ngff-challenge/src/ZarrListItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import { loadMultiscales } from "./tableStore";
import Thumbnail from "./Thumbnail.svelte";
import omeLogo from '/ome-logomark.svg';
import vizarrLogo from '/vizarr_logo.png';
export let rowData;
export let textFilter;
Expand All @@ -28,7 +27,12 @@
}
onMount(async () => {
let img = await loadMultiscales(rowData.url);
let zarrUrl = rowData.url;
// If we know the path to first series, add it
if (rowData.series0 !== undefined) {
zarrUrl += "/" + rowData.series0;
}
let img = await loadMultiscales(zarrUrl);
imgAttrs = img[0];
imgUrl = img[1];
plateAttrs = img[2]; // optional
Expand Down
8 changes: 4 additions & 4 deletions samples/flamingo.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url,written,written_human_readable,shape,shards,chunks,dimension_names,license,name,description,organismId,fbbiId
https://radosgw.public.os.wwu.de/n4bi-goe/Platynereis-H2B-TL.ome.zarr,2352780058,2.35 GB,"192,1024,1024","512,512,512","128,128,128","z,y,x",,,,,
https://radosgw.public.os.wwu.de/n4bi-goe/Zebrafish-H2B-short-timelapse.ome.zarr,10417827625,10.42 GB,"322,2048,2048","512,512,512","128,128,128","z,y,x",,,,,
https://radosgw.public.os.wwu.de/n4bi-goe/Zebrafish-XSPIM-multiview.ome.zarr,7168396046,7.17 GB,"342,2048,2048","512,512,512","128,128,128","z,y,x",,,,,
url,written,written_human_readable,shape,shards,chunks,dimension_names,license,name,description,organismId,fbbiId,series0
https://radosgw.public.os.wwu.de/n4bi-goe/Platynereis-H2B-TL.ome.zarr,2352780058,2.35 GB,"192,1024,1024","512,512,512","128,128,128","z,y,x",,,,,,setup0/timepoint0
https://radosgw.public.os.wwu.de/n4bi-goe/Zebrafish-H2B-short-timelapse.ome.zarr,10417827625,10.42 GB,"322,2048,2048","512,512,512","128,128,128","z,y,x",,,,,,setup0/timepoint0
https://radosgw.public.os.wwu.de/n4bi-goe/Zebrafish-XSPIM-multiview.ome.zarr,7168396046,7.17 GB,"342,2048,2048","512,512,512","128,128,128","z,y,x",,,,,,setup0/timepoint0

0 comments on commit 511c5d0

Please sign in to comment.