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

Numerical start and stop force unit='year' #819

Open
Tracked by #798
cliffckerr opened this issue Dec 10, 2024 · 0 comments
Open
Tracked by #798

Numerical start and stop force unit='year' #819

cliffckerr opened this issue Dec 10, 2024 · 0 comments
Labels
time Related to time
Milestone

Comments

@cliffckerr
Copy link
Contributor

Numerical start and stop force unit='year', e.g. the first one only has 21 timesteps, while the second has 241:

import starsim as ss

kw = dict(diseases='sis', networks='random')

s1 = ss.Sim(unit='month', dt=1.0, start=1980, stop=2000, **kw).run()
s2 = ss.Sim(unit='month', dt=1.0, start='1980-01-01', stop='2000-01-01', **kw).run()

Originally posted by @cliffckerr in #798 (comment)

@cliffckerr cliffckerr added the time Related to time label Dec 10, 2024
@cliffckerr cliffckerr added this to the Version 2.2.1 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
time Related to time
Projects
None yet
Development

No branches or pull requests

1 participant