Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions src/tlo/methods/hsi_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,28 +354,6 @@ def initialise(self) -> None:
)
)


# Do checks
self._check_if_appt_footprint_can_run()

def _check_if_appt_footprint_can_run(self) -> bool:
"""Check that event (if individual level) is able to run with this configuration of officers (i.e. check that
this does not demand officers that are _never_ available), and issue warning if not.
"""
if self.healthcare_system._officers_with_availability.issuperset(
self.expected_time_requests.keys()
):
return True
else:
logger.debug(
key="message",
data=(
f"The expected footprint of {self.TREATMENT_ID} is not possible with the configuration of "
f"officers."
),
)
return False

@staticmethod
def _return_item_codes_in_dict(
item_codes: Union[None, np.integer, int, list, set, dict]
Expand Down