We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c26a9 commit 68d7e72Copy full SHA for 68d7e72
1 file changed
tables_and_editing.md
@@ -505,8 +505,8 @@ It is also easy to add more rows:
505
```{code-cell} ipython3
506
new_pos = 10
507
new_site_id = new_tables.sites.add_row(
508
- position=new_pos, ancestral_state="G", metadata=b"An empty site"
509
- # 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
510
)
511
print(f"New empty site allocated at position {new_pos} with ID {new_site_id}")
512
new_tables.sites
0 commit comments