From 41c6a64628c713edd55e707e6d363a8a957cd91c Mon Sep 17 00:00:00 2001 From: dxc Date: Tue, 9 Jun 2026 13:31:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(gui):=20step9=5Fpanel=E5=A2=9E=E5=8A=A0pipe?= =?UTF-8?q?line.indices=5Fpath=E8=AF=BB=E5=8F=96=EF=BC=8C=E8=A7=A3?= =?UTF-8?q?=E5=86=B3step8=E4=BA=A7=E5=87=BA=E6=96=AD=E9=93=BE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gui/panels/step9_panel.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gui/panels/step9_panel.py b/src/gui/panels/step9_panel.py index 9575c17..c49f158 100644 --- a/src/gui/panels/step9_panel.py +++ b/src/gui/panels/step9_panel.py @@ -312,6 +312,16 @@ class Step9Panel(QWidget): if not existing or not existing.strip(): self.csv_file.set_path(step8_output_path) + # 1.2 尝试从 pipeline 读取 Step 8 宽表 indices_path(优先级最高) + if pipeline and hasattr(pipeline, 'indices_path') and pipeline.indices_path: + step8_indices_path = pipeline.indices_path + if not os.path.isabs(step8_indices_path): + step8_indices_path = os.path.join(self.work_dir or '', step8_indices_path).replace('\\', '/') + current_path = self.csv_file.get_path() + if not current_path or not current_path.strip(): + self.csv_file.set_path(step8_indices_path) + print(f"✅ 从pipeline.indices_path回填Step8产出: {step8_indices_path}") + # 1.5 自动探测并回填 Step 8 双轨输出的 Traditional_Indices 目录 if self.work_dir: trad_indices_dir = os.path.join(