You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow top-level metadata type to be a union of null, object. #659
As discussed in tskit-dev/pyslim#82 empty metadata is a common occurrence when a tool is adding to an existing tree sequence. To add metadata a tool adds a schema which means default "na" values must be added to all existing rows.
We can change the metaschema to allow a union of null,object at the top-level of the schema to support a subset of rows having empty metadata. The encoders and decoders will special-case this usage.
Activity
Allow top-level metadata type to be union of null, object tskit-dev#659
Allow top-level metadata type to be union of null, object tskit-dev#659
Merge pull request #730 from benjeffery/top-level-metadata-null-union