We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is an issue to track implementing version 0.5 of the spec. The plan is to open several sub-issues to track changes that need to be made.
The text was updated successfully, but these errors were encountered:
Hi @dstansby - I was just testing a tool to generate TypeScript types from Pydantic - see https://github.com/marketplace/actions/pydantic-to-typescript
TypeScript
When I ran it on the _v05 classes...
$ pydantic2ts --module src/ome_zarr_models/_v05/image.py --output image05.ts
It gave me a Multiscale with version?: "0.4" | null; and I also don't see the "version": "0.5" which is required on ImageAttrs I think?
Multiscale
version?: "0.4" | null;
"version": "0.5"
ImageAttrs
Apologies if this is already on your radar but I didn't recognise it in the issues above. Thanks.
/** * Model for the metadata of OME-Zarr data. * * See https://ngff.openmicroscopy.org/0.4/#image-layout. */ export interface ImageAttrs { /** * The multiscale datasets for this image * * @minItems 1 */ multiscales: [Multiscale, ...Multiscale[]]; omero?: Omero | null; [k: string]: unknown; } /** * An element of multiscales metadata. */ export interface Multiscale { axes: Axis[]; /** * @minItems 1 */ datasets: [Dataset, ...Dataset[]]; version?: "0.4" | null; coordinateTransformations?: [unknown] | [unknown, unknown] | null; metadata?: { [k: string]: unknown; }; name?: JsonValue | null; type?: { [k: string]: unknown; }; [k: string]: unknown; }
Sorry, something went wrong.
Thanks - I opened a new issue because that makes it a bit easier to keep track fixing.
No branches or pull requests
This is an issue to track implementing version 0.5 of the spec. The plan is to open several sub-issues to track changes that need to be made.
The text was updated successfully, but these errors were encountered: