From 68d7e72a5396b7cba96d161c5c85eeeeab077234 Mon Sep 17 00:00:00 2001 From: Yan Wong Date: Fri, 29 May 2026 14:02:21 +0100 Subject: [PATCH] Change metadata for new site in example code Updated metadata for new site allocation in example. --- tables_and_editing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tables_and_editing.md b/tables_and_editing.md index 5932ff90..718fcaf0 100644 --- a/tables_and_editing.md +++ b/tables_and_editing.md @@ -505,8 +505,8 @@ It is also easy to add more rows: ```{code-cell} ipython3 new_pos = 10 new_site_id = new_tables.sites.add_row( - position=new_pos, ancestral_state="G", metadata=b"An empty site" - # NB: For this example table we have to feed a raw byte string as metadata + position=new_pos, ancestral_state="G", metadata=b"A new site" + # NB: This site table has no scheme, so metadata must be a raw byte string ) print(f"New empty site allocated at position {new_pos} with ID {new_site_id}") new_tables.sites