msprime icon indicating copy to clipboard operation
msprime copied to clipboard

document provenance requirements for new/existing code

Open petrelharp opened this issue 4 years ago • 3 comments

With the new provenance code there are some additional requirements for adding new methods or modifying existing ones, as I'm discovering over in #946. In figuring this out it'd be very helpful to have a short explainer and/or checklist of what needs to happen to interface with the provenance machinery. For instance: an .asdict() method... ? Right now I'm going on "what do errors in running tests tell me", and I'm starting to get a sense for how things work (which seems very nice!), but the big picture would really help. Apologies if this exists somewhere and I have missed it.

petrelharp avatar Apr 22 '20 18:04 petrelharp

Agreed! I should have done this as part of the initial work. I'll self-assign this.

benjeffery avatar Apr 22 '20 18:04 benjeffery

Great! Thanks.

petrelharp avatar Apr 22 '20 18:04 petrelharp

I'm going to drop this out of the 1.0 milestone because it's more of an internal development thing and not really user facing.

jeromekelleher avatar Mar 08 '21 08:03 jeromekelleher