fix warning condition
This commit is contained in:
parent
1ae52ffdf8
commit
e850746c3b
1 changed files with 2 additions and 1 deletions
|
|
@ -119,7 +119,8 @@ class MCInfectedPopulation(models.Population):
|
|||
assert self.breathing_category is not None, \
|
||||
"expiratory_activity specified as 0 (breathing) without specified 'breathing_category'"
|
||||
else:
|
||||
print("'breathing_category' unused as 0 (breathing) was not chosen as 'expiratory_activity'")
|
||||
if self.breathing_category is not None:
|
||||
print("'breathing_category' unused as 0 (breathing) was not chosen as 'expiratory_activity'")
|
||||
|
||||
if self.breathing_category is not None:
|
||||
csi, lamb = lognormal_parameters[self.breathing_category]
|
||||
|
|
|
|||
Loading…
Reference in a new issue