Closed hyanwong closed 3 months ago
We'll probably want to have richer tools for working with schemas generally.
Like I say, the Python API just exists to support the CLI currently, I would actively discourage anyone from using it for anything.
Given this, I'm going to close this as "wontfix" (and open an issue to document the Python API status prominently)
It might be handy if the (undocumented)
vcf2zarr.mkschema
command returned the schema as a string if the second ("out") argument isn't given. You could then have aschema
argument to pass this in tovcf2zarr.encode
(it would then be an error to specify bothschema
andschema_path
).This would allow neater alteration of the schema programatically.