Skip to content

Commit

Permalink
Inputing arguments as keywords in populations definition, in test_exp…
Browse files Browse the repository at this point in the history
…osure_model
  • Loading branch information
nmounet committed Jul 28, 2023
1 parent 8e877ec commit d26218c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions caimira/tests/models/test_exposure_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ def _normed_concentration(self, time: float) -> models._VectorisedFloat: # noqa
populations = [
# A simple scalar population.
models.Population(
10, halftime, models.Activity.types['Standing'],
models.Mask.types['Type I'], host_immunity=0.,
10, halftime, activity=models.Activity.types['Standing'],
mask=models.Mask.types['Type I'], host_immunity=0.,
),
# A population with some array component for η_inhale.
models.Population(
10, halftime, models.Activity.types['Standing'],
models.Mask(np.array([0.3, 0.35])), host_immunity=0.
10, halftime, activity=models.Activity.types['Standing'],
mask=models.Mask(np.array([0.3, 0.35])), host_immunity=0.
),
# A population with some array component for inhalation_rate.
models.Population(
10, halftime, models.Activity(np.array([0.51, 0.57]), 0.57),
models.Mask.types['Type I'], host_immunity=0.
10, halftime, activity=models.Activity(np.array([0.51, 0.57]), 0.57),
mask=models.Mask.types['Type I'], host_immunity=0.
),
]

Expand Down

0 comments on commit d26218c

Please sign in to comment.