Skip to content

Commit 9de2730

Browse files
committed
hs: fix sorting of _equip_by_level
1 parent 36ea3ad commit 9de2730

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
@@ -2760,6 +2760,9 @@ def write_to_log_and_reset_counters(self):
27602760
},
27612761
)
27622762

2763+
# Sort equipment within levels, and log them
2764+
for key in self._equip_by_level:
2765+
self._equip_by_level[key] = sorted(self._equip_by_level[key])
27632766
logger_summary.info(
27642767
key="Equipment",
27652768
description="Sets of used equipment for each facility level in this calendar year.",

0 commit comments

Comments
 (0)