-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Deme.id to Deme.name #59
Comments
Unfortunately, I think you're right. |
This seemingly simple change will likely need lots of changes for related variable names and docs. |
Yes, sorry. This will only get worse over time though - who wants to rip off the bandaid? I'll do the spec repo if you do |
Deal! |
OK - @molpopgen, @apragsdale any objections? |
Makes sense to me. |
No objections here.
… On 19 Mar 2021, at 7:23, Kevin R. Thornton ***@***.***> wrote:
Makes sense to me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
OK, I'll sort this out here when I get a chance. |
I think we should change the current
id
attribute on Deme toname
. There's two main reasons for this:id
is intrusive for downstream implementations as they will already have some concept of a population/deme ID, and it's unlikely to match up with what we're requiring here. For example, msprime/tskit have zero-indexed integers as population IDs, and SLiM has one-indexed integers as population IDs. Neither can map the concept of "Deme id" directly into their data models, requiring icky workarounds where we add a "name" which corresponds to the Demes ID. This is both messy and will confuse users.name
gets this idea across much better.Thoughts/objections?
The text was updated successfully, but these errors were encountered: