Step5 输出文件名统一为 processed_data.csv(修复 GUI/算法断链)

实际落盘(data_preparation_step.py:32、runner.py:101)一直为 processed_data.csv,但 GUI 三处残留旧名 cleaned_sampling_data.csv:注册表 step_default_outputs['step5_clean']、面板占位符、默认输出路径生成。本次统一替换,与 PipelineRunner/算法真实产物对齐。
This commit is contained in:
DXC
2026-06-15 17:32:07 +08:00
parent 0a0ede2e02
commit d41262aa18
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ class Step5CleanPanel(QWidget):
"输出处理后CSV:",
"CSV Files (*.csv);;All Files (*.*)"
)
self.output_file.line_edit.setPlaceholderText("cleaned_sampling_data.csv")
self.output_file.line_edit.setPlaceholderText("processed_data.csv")
layout.addWidget(self.output_file)
# 启用步骤
@ -129,7 +129,7 @@ class Step5CleanPanel(QWidget):
if self.work_dir:
output_dir = os.path.join(self.work_dir, "5_Data_Cleaning")
os.makedirs(output_dir, exist_ok=True)
default_output_path = os.path.join(output_dir, "cleaned_sampling_data.csv").replace('\\', '/')
default_output_path = os.path.join(output_dir, "processed_data.csv").replace('\\', '/')
self.output_file.set_path(default_output_path)
else:
self.output_file.set_path("")