tskit-dev / pyslim

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

catch out-of-date ts format and throw warning #254

Closed petrelharp closed 2 years ago

petrelharp commented 2 years ago

In places where we use new-SLiM things, like everywhere we extract tick from metadata, we should try-catch to throw an informative error, instructing to use pyslim.update(ts).