You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify documentation on population metadata with initial_state #925
Hmm - should it though? It's not clear to me that a ts transforming program should clobber existing metadata. Ideally, I guess, the program should add to the metadata, if it needs to. However, we don't have the infrastructure in place in tskit to enable this yet.
I think we should handle this at the stdpopsim side for now, until we have decided what the right protocol is in general for passing through metadata.
(@grahamgower, would you mind linking back to the stdpopsim issue where we hit this problem please? I've lost track of where things are!)
changed the title [-]simulate with `from_ts` does not update population metadata[/-][+]Clarify documentation on population metadata with ``initial_state``[/+]on Mar 9, 2021
Activity
jeromekelleher commentedon Mar 25, 2020
Hmm - should it though? It's not clear to me that a ts transforming program should clobber existing metadata. Ideally, I guess, the program should add to the metadata, if it needs to. However, we don't have the infrastructure in place in tskit to enable this yet.
I think we should handle this at the stdpopsim side for now, until we have decided what the right protocol is in general for passing through metadata.
(@grahamgower, would you mind linking back to the stdpopsim issue where we hit this problem please? I've lost track of where things are!)
jeromekelleher commentedon Mar 25, 2020
Linking to tskit-dev/tskit#57 for reference, and cc'ing @benjeffery.
jeromekelleher commentedon Mar 25, 2020
ah, here is the stdpopsim issue: popsim-consortium/stdpopsim#438
Please ignore the request above Graham.
grahamgower commentedon Mar 25, 2020
Yeah, I think an argument can be made for both cases. Either way, a note in the docs is probably warranted.
[-]simulate with `from_ts` does not update population metadata[/-][+]Clarify documentation on population metadata with ``initial_state``[/+]jeromekelleher commentedon Mar 12, 2021
Related to #1528 (fix should also close this)
Add Demography.from_tree_sequence and clarify docs.
Add Demography.from_tree_sequence and clarify docs.