IDR / ome-ngff-samples

A catalog of all public OME-NGFF representative samples derived from IDR data
https://idr.github.io/ome-ngff-samples
0 stars 3 forks source link

RFE: date added? #1

Closed joshmoore closed 2 years ago

joshmoore commented 2 years ago

This could likely be pulled from the generator metadata, but ordering the file by date added would help users to find the most recent additions. (We might also be able to auto-generate a changelog from that)

sbesson commented 2 years ago

Makes sense. While looking at https://joshmoore.github.io/idr-ome-ngff-samples/, one of the first UI actions I wanted to do was to reverse sort the OME-NGFF version to put the most recent samples to the top of the list so I can see the benefit of a date added column. I assume for historical samples, the timestamp of .zattrs on uk1s3 would be a good indication?

joshmoore commented 2 years ago

the timestamp of .zattrs on uk1s3 would be a good indication?

seems ok, yeah.

sbesson commented 2 years ago

Unfortunately, curl -I https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.1/9798462.zarr/.zattrs reveals we won't be able to get anything older than the date where the data was copied from the Embassy CLoud v3 object store to the Embassy Cloud v4 object store (uk1s3). Possibly, an alternative would be to use the blog post date for all 0.1, 0.2 and 0.3 samples and start capturing the date of generation of new sampels

joshmoore commented 2 years ago

Doh! I did not think of that as a requirement. 🤦🏽 The blog dates make sense (and I guess we could even think them as a "releaseUrl" or something)

sbesson commented 2 years ago

Should be solved by https://github.com/sbesson/idr-ome-ngff-samples/commit/894da148c5bc107e9d9aca59208739d7eba1075c

joshmoore commented 2 years ago

Cheers. Can we discuss merging by branch into the mainline so things get automatically updated?

sbesson commented 2 years ago

Absolutely, do you want to push directly to the main branch (I think I sent a collaborator invite a week ago) or open a PR?

joshmoore commented 2 years ago

Done :+1: