Skip to content

Commit f1aa86c

Browse files
committed
hs: fix sorting of _equip_by_level
1 parent f5cf611 commit f1aa86c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tlo/methods/healthsystem.py

+3
Original file line numberDiff line numberDiff line change
@@ -2769,6 +2769,9 @@ def write_to_log_and_reset_counters(self):
27692769
},
27702770
)
27712771

2772+
# Sort equipment within levels, and log them
2773+
for key in self._equip_by_level:
2774+
self._equip_by_level[key] = sorted(self._equip_by_level[key])
27722775
logger_summary.info(
27732776
key="Equipment",
27742777
description="Sets of used equipment for each facility level in this calendar year.",

0 commit comments

Comments
 (0)