web UI added and refactoring done
This commit is contained in:
@@ -17,6 +17,7 @@ from python_app.models.run_config_validation import (
|
||||
load_control_button_payload,
|
||||
load_ring_payload,
|
||||
load_switch_payload,
|
||||
validate_combos,
|
||||
validate_gpr_model,
|
||||
)
|
||||
|
||||
@@ -431,6 +432,11 @@ def run_config_from_dict(payload: dict[str, Any]) -> RunConfigModel:
|
||||
)
|
||||
|
||||
model.ensure_combos()
|
||||
validate_combos(
|
||||
model.combos,
|
||||
input_positions=model.input_switch.positions,
|
||||
output_positions=model.output_switch.positions,
|
||||
)
|
||||
return model
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user