Skip to content

Commit 34c3014

Browse files
committed
healthsystem: correct argument name arg_service_availability
1 parent c0cdf8c commit 34c3014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tlo/methods/healthsystem.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def __init__(
672672
self.list_fasttrack = [] # provided so that there is a default even before simulation is run
673673

674674
# Store the argument provided for service_availability
675-
self.arg_service_availabily = service_availability
675+
self.arg_service_availability = service_availability
676676
self.service_availability = ['*'] # provided so that there is a default even before simulation is run
677677

678678
# Check that the capabilities coefficient is correct
@@ -1157,10 +1157,10 @@ def get_service_availability(self) -> List[str]:
11571157
"""Returns service availability. (Should be equal to what is specified by the parameter, but overwrite with what
11581158
was provided in argument if an argument was specified -- provided for backward compatibility/debugging.)"""
11591159

1160-
if self.arg_service_availabily is None:
1160+
if self.arg_service_availability is None:
11611161
service_availability = self.parameters['Service_Availability']
11621162
else:
1163-
service_availability = self.arg_service_availabily
1163+
service_availability = self.arg_service_availability
11641164

11651165
assert isinstance(service_availability, list)
11661166

0 commit comments

Comments
 (0)