Open oeway opened 3 years ago
Hi @oeway, I added something that works for HPA. it was tricky as the image links aren't there immediately at page load, and also you have in page widgets that allow changing the displayed images. Hence, the correct link is refreshed and captured only when the ImageJ.JS link is clicked. It's really nice to have 1-click access to this beautiful atlas. Can you please try this using manual install before I update the extension tomorrow?
@mutterer Wow, cool! Just tried it and works like a charm.
I tried to improved a bit for the button style via this PR: https://github.com/mutterer/open-in-imagej-js-extension/pull/5
One thing I tried to fix is that the button still shows on empty image in, for example, this page: https://www.proteinatlas.org/ENSG00000134057-CCNB1/cell#custom Maybe you can take a look at this?
It's not straight forward, as all button parent element innerText are empty at page load, and some panels can be empties/filled according to user in-page selection.
I think we can think about adding support for online image databases!
For example:
[ ] IDR https://idr.openmicroscopy.org/cell/
[x] HPA https://www.proteinatlas.org/humanproteome/cell
(add more to the list)