updated validation error message

This commit is contained in:
Luis 2023-11-14 13:51:06 +00:00 committed by Luis Aleixo
parent 0fb4cd895e
commit 96a2b614dc

View file

@ -148,7 +148,7 @@ class FormData:
def validate_population_parameters(self):
# Validate number of infected <= number of 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
time_intervals = [