You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If model is a SIR type then it is missing .units (this function expects .units). Is it NetworkedSIR or other specialization (I don't see inheritance though)? If it is then t = has issues because model.Rt doesn't exist. I guess t= can be moved inside the loop?
Also in the for loop in this function, model is reused that may case mypy typer checker to fail (not essential).
Similarly plot_curves probably expects models: Sequence[NetworkedSIR] rather than model: Sequence[SIR]?
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: