-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hello,
Thanks for making this repo and data public. I’m working with the IDR API (https://idr.openmicroscopy.org/about/api.html) to pull image metadata, but I’m running into an issue.
Specifically, in the JSON API output, the grid object indices appear to be inconsistent in some studies. Where grid was obtained by using the following code:
WELLS_IMAGES_URL = f"https://idr.openmicroscopy.org/webgateway/plate/{plate}/"
plate_dict = requests.Session().get(WELLS_IMAGES_URL).json()
grid = plate_dict['grid']
Many of the metadata for plate JSON files begin at grid[0], however for plate 1753 (https://idr.openmicroscopy.org/webgateway/plate/1753) the metadata begin at grid[1]. See screenshot below:
Similarly, if the metadata are located in grid[0], sometimes the metadata won't appear until grid[0][1] instead of grid[0][0]. For example, see specifically https://idr.openmicroscopy.org/webgateway/plate/1760. See screenshot below:
Are plate metadata supposed to begin at grid[0][0]?
This is a potential issue that I can manage, but I’d like to report these observations in case these inconsistencies are errors and can be relatively easily standardized.
Thanks,
Parker

