Annotating neutral coalescent with multiple subpops #403
-
|
Hello! I get the following error in SliM: After running this code to produce the tree sequence. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I believe the problem is with this line: "removing vacant nodes" (really, removing the sample flag from them) is something you want to do for analysis in python; however, to load the tree sequence into SLiM you need to include them. So, I suspect this will work if you delete that line? I also don't think you should have this code chunk: The I'm curious if there's somewhere in the docs that suggested you needed to do those steps? Please go ahead and close if this solves the issue. |
Beta Was this translation helpful? Give feedback.
Oh darn; I was sure that was the problem.
But - I've just run the code above and everything works fine? Are you sure you're using the newly produced tree sequence? With SLiM v5.1?
Thanks very much for the working, quick-to-run example, btw.