File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ import json
7373
7474ts = tskit.load("data/metadata.trees")
7575```
76+ (sec_tutorial_metadata_reading)=
7677
7778## Reading metadata and schemas
7879
@@ -107,6 +108,8 @@ If there is no schema (i.e. it is equal to ``MetadataSchema(None)``) for a table
107108or top-level metadata, then no decoding is performed and `` bytes `` will be returned.
108109:::
109110
111+ (sec_tutorial_metadata_modifying)=
112+
110113## Modifying metadata and schemas
111114
112115If you are creating or modifying a tree sequence by changing the underlying tables,
@@ -200,6 +203,8 @@ print(tables.individuals[new_id].metadata)
200203
201204To modify the metadata of rows in tables use the {ref}` sec_tutorial_metadata_bulk ` .
202205
206+ (sec_tutorial_metadata_viewing_raw)=
207+
203208## Viewing raw metadata
204209
205210If you need to see the raw (i.e. bytes) metadata, you just need to remove the
You can’t perform that action at this time.
0 commit comments