Closed petrelharp closed 2 years ago
It appears to say [[False False False False False False False False False]]
in both places above, so... :->
I'm not sure what the issue here is. I ran these SLiM and python script with SLiM v4, most recent pyslim and tskit (now loading the tree sequence with tskit
). pyslim.recapitate
worked just fine. The issue was with the old SlimTreeSequence.recapitate
method that does not exist any more.
Yep; confirmed - works for me too. I'm going to close this; please re-open if it's still a problem!
In #248 it was pointed out that if we run this SLiM script:
and then this python script:
we get this error:
After sticking in some print statements, it turns out this is because the RateMap that msprime gets handed by pyslim has, for some reason,
self.missing
equal toinstead of
like it should. This is presumably because in
pyslim.SlimTreeSequence.recapitate( )
, passing in a RateMap torecombination_rate
then uses that passed in RateMap to create a new rate map, as the recombination rate.