tskit-dev / pyslim

Tools for dealing with tree sequences coming to and from SLiM.
MIT License
27 stars 23 forks source link

tsinfered tree sequences don't have 'type' key in top-level metdata but `set_tree_sequence_metadata` expects they do #315

Open petrelharp opened 1 year ago

petrelharp commented 1 year ago

As pointed out by @Tatianabellagio, this produces an assertion error when trying to run annotate_tables on a tsinferred tree sequence. I'm not sure if this is a bad thing by tsinfer, but we should be robust to it.