Skip to content

Commit e7b6170

Browse files
Remove _check_if_appt_footprint_can_run (#1751)
1 parent 7e026d7 commit e7b6170

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

src/tlo/methods/hsi_event.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -354,28 +354,6 @@ def initialise(self) -> None:
354354
)
355355
)
356356

357-
358-
# Do checks
359-
self._check_if_appt_footprint_can_run()
360-
361-
def _check_if_appt_footprint_can_run(self) -> bool:
362-
"""Check that event (if individual level) is able to run with this configuration of officers (i.e. check that
363-
this does not demand officers that are _never_ available), and issue warning if not.
364-
"""
365-
if self.healthcare_system._officers_with_availability.issuperset(
366-
self.expected_time_requests.keys()
367-
):
368-
return True
369-
else:
370-
logger.debug(
371-
key="message",
372-
data=(
373-
f"The expected footprint of {self.TREATMENT_ID} is not possible with the configuration of "
374-
f"officers."
375-
),
376-
)
377-
return False
378-
379357
@staticmethod
380358
def _return_item_codes_in_dict(
381359
item_codes: Union[None, np.integer, int, list, set, dict]

0 commit comments

Comments
 (0)