We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d27bd commit e9f733cCopy full SHA for e9f733c
src/epidemik/EpiModel.py
@@ -19,6 +19,8 @@
19
import matplotlib.pyplot as plt
20
import yaml
21
22
+from typing import Union
23
+
24
from .utils import *
25
26
src/epidemik/MetaEpiModel.py
@@ -12,6 +12,8 @@
12
import matplotlib.patches as mpatches
13
from matplotlib.collections import PatchCollection
14
15
16
17
from .EpiModel import *
18
from tqdm import tqdm
@@ -30,7 +32,7 @@ def __init__(
30
32
travel_graph: pd.DataFrame,
31
33
populations: pd.DataFrame,
34
population: str = "Population",
- seed: int | None = None,
35
+ seed: Union[int | None] = None,
36
):
37
"""
38
Initialize the EpiModel object
0 commit comments