msprime icon indicating copy to clipboard operation
msprime copied to clipboard

Set metadata schema to JSON for top level

Open jeromekelleher opened this issue 2 years ago • 2 comments

And give an example of adding some

jeromekelleher avatar Nov 19 '21 09:11 jeromekelleher

Probably not worth bothering with this until we have some easy examples of using the tskit Metadata schema builder to add some metadata in a way that we'd approve of (i.e., with an explicit schema).

Just dumping a bunch of stuff into persmissive_json is something we'll regard as an anti-pattern, so there's no point in encouraging people to do it.

jeromekelleher avatar Dec 14 '21 11:12 jeromekelleher

Agreed, the metadata API shouldn't be too much work. Maybe we should move it to directly after C1.0?

benjeffery avatar Dec 16 '21 11:12 benjeffery