From 9725fd22fb140d2026ea4b9f67e5df0ce90e9fdc Mon Sep 17 00:00:00 2001 From: Floke Date: Mon, 14 Jul 2025 13:57:40 +0000 Subject: [PATCH] brancheneinstufung2.py aktualisiert --- brancheneinstufung2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/brancheneinstufung2.py b/brancheneinstufung2.py index a4294ff0..b8165f5e 100644 --- a/brancheneinstufung2.py +++ b/brancheneinstufung2.py @@ -157,9 +157,11 @@ def main(): process_ml_steps='ml_predict' in steps_to_run_set ) elif selected_mode == "alignment": - alignment_demo(sheet_handler.sheet) + # NEU: Übergebe die gesamte sheet_handler Instanz + alignment_demo(sheet_handler) elif selected_mode == "train_technician_model": data_processor.train_technician_model() + elif hasattr(data_processor, f"process_{selected_mode}"): # Dynamischer Aufruf für die meisten Batch-Modi method_to_call = getattr(data_processor, f"process_{selected_mode}")