-
Notifications
You must be signed in to change notification settings - Fork 5
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
model : SIR has missing units
#124
Comments
dilawar
pushed a commit
to dilawar/epimargin
that referenced
this issue
Jul 24, 2021
dilawar
pushed a commit
to dilawar/epimargin
that referenced
this issue
Jul 24, 2021
dilawar
pushed a commit
to dilawar/epimargin
that referenced
this issue
Jul 24, 2021
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
epimargin/epimargin/plots.py
Line 304 in 7170f5f
If
model
is aSIR
type then it is missing.units
(this function expects.units
). Is itNetworkedSIR
or other specialization (I don't see inheritance though)? If it is thent =
has issues becausemodel.Rt
doesn't exist. I guesst=
can be moved inside the loop?Also in the for loop in this function,
model
is reused that may casemypy
typer checker to fail (not essential).Similarly
plot_curves
probably expectsmodels: Sequence[NetworkedSIR]
rather thanmodel: Sequence[SIR]
?openjournals/joss-reviews#3464
The text was updated successfully, but these errors were encountered: