check_switch_ids_are_not_too_high¶
Summary¶
- check_switch_ids_are_not_too_high(frbs: list[BoardFile]) str¶
Checks that the District IDs of all Switch squares in all frb files are not set to a value that exceeds the total number of frb files in the bundle.
- Parameters:
frbs (list[BoardFile]) – A list of BoardFile objects representing one or more .frb files.
- Returns:
A string containing the error message if the check fails, or an empty string if it passes.
- Return type:
str
Importing¶
from cs_board_tools.validation.board import check_switch_ids_are_not_too_high