IDR / idr0042-nirschl-wsideeplearning

Metadata files for the idr0042 submission
3 stars 6 forks source link

Add script to set the physical sizes post import #1

Open sbesson opened 6 years ago

sbesson commented 6 years ago

From the submitters, The XY pixel units are 2 microns per pixel (0.5 pixels/micron), so a 250x250 pixel image represents a 500x500 micron field..

Since the raw data were PNG crops, this imaging metadata will need to be populated post import into the database.

sbesson commented 6 years ago

Briefly investigated yesterday, my initial hope was to get this achieve this tasks using the basic CLI command i.e.:

Unfortunately, the last part fails due to the fact physical sizes are Length object and this is not supported by the obj update subcommand as discussed with @joshmoore. This might require a Python script using the API although @dominikl was considering whether this could be turned into a mini CLI plugin.