Skip to content
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

time units mismatch warning #1549

Closed
petrelharp opened this issue Feb 20, 2024 · 1 comment
Closed

time units mismatch warning #1549

petrelharp opened this issue Feb 20, 2024 · 1 comment

Comments

@petrelharp
Copy link
Contributor

We now also get (e.g. running tests/test_slim.py::TestAPI::test_simulate)

TimeUnitsMismatchWarning: The initial_state has time_units=ticks but time is measured in generations in msprime. This may lead to significant discrepancies between the timescales. If you wish to suppress this warning, you can use, e.g., warnings.simplefilter('ignore', msprime.TimeUnitsMismatchWarning)

We should either fix up the time units in the tree sequence or do the suggested ignore fix.

@nspope
Copy link
Collaborator

nspope commented Jul 5, 2024

Fixed by #1567

@nspope nspope closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants