updated validation error message
This commit is contained in:
parent
0fb4cd895e
commit
96a2b614dc
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ class FormData:
|
||||||
def validate_population_parameters(self):
|
def validate_population_parameters(self):
|
||||||
# Validate number of infected <= number of total people
|
# Validate number of infected <= number of total people
|
||||||
if self.infected_people >= self.total_people:
|
if self.infected_people >= self.total_people:
|
||||||
raise ValueError('Number of infected people cannot be more or equal than number of total people.')
|
raise ValueError('Number of infected people cannot be greater or equal to the number of total people.')
|
||||||
|
|
||||||
# Validate time intervals selected by user
|
# Validate time intervals selected by user
|
||||||
time_intervals = [
|
time_intervals = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue