Closed dominikl closed 3 years ago
Makes sense, and we certainly don't have anything that would do this today (other than listing all and using grep
). Thinking about where we might want to have this one day, two things occur to me:
contained-in:Project-1 type:Image name:foo
./scripts/annotate/find_images.py:3:1: F401 'os' imported but unused
Btw, I thought as well, ideally that should be done on the server side. But simply doing some regex matching on the client side for now, is just easier and quicker than going through the whole stack.
But simply doing some regex matching on the client side for now, is just easier and quicker :+1:
Script to get a list of image IDs which names match a certain regular expression. Based on (just slightly modified): https://github.com/IDR/idr0108-sabinina-nuclearporecomplex/blob/main/scripts/find_images.py) Apart from idr0108 I used it for a few other studies. Often images which need particular rendering settings, pixel sizes, etc. set after import, can be distingushed by a common name pattern. The output can be used to successively call
omero render
etc. in for loop or used withparallel
.