-
Notifications
You must be signed in to change notification settings - Fork 90
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
Fix unit testing to work with msprime > 0.7.4. #522
Conversation
Codecov Report
@@ Coverage Diff @@
## master #522 +/- ##
=========================================
Coverage ? 99.63%
=========================================
Files ? 21
Lines ? 1901
Branches ? 202
=========================================
Hits ? 1894
Misses ? 2
Partials ? 5
Continue to review full report at Codecov.
|
There's something wrong with the codecov report. This should definitely have failed, as I added a code path without a test for it. |
I added a test for the version compatibility shim, and checked it under both msprime 0.7.4, and git master.
|
Nicely done @grahamgower, thanks. Another option would be to back out of the change in msprime where we dropped the unused argument. It's no harm, and we could mark it for removal some time in the future after msprime 1.0 and we've transitioned stdpopsim to using Otherwise, we'll still have the problem that people with older versions of stdpopsim will break when msprime 1.0 is released. |
I don't mind breaking test code, but we can't break production code. So, backing out of msprime change seems simplest? |
Sure, that's fine too. Note also that the behaviour of |
Reverted the change to msprime in tskit-dev/msprime#1038 See tskit-dev/msprime#1036 and tskit-dev/msprime#1037 for longer term plan. |
Is the SimpleBottleneck used here somewhere? (It was never documented, so I felt OK to change it). Can you open an issue on msprime to track the problem if so, please? |
Closes #518.