添加公式方法
This commit is contained in:
@ -76,7 +76,7 @@ class Step5CleanPanel(QWidget):
|
||||
"输出处理后CSV:",
|
||||
"CSV Files (*.csv);;All Files (*.*)"
|
||||
)
|
||||
self.output_file.line_edit.setPlaceholderText("processed_data.csv")
|
||||
self.output_file.line_edit.setPlaceholderText("cleaned_sampling_data.csv")
|
||||
layout.addWidget(self.output_file)
|
||||
|
||||
# 启用步骤
|
||||
@ -127,9 +127,9 @@ class Step5CleanPanel(QWidget):
|
||||
self.work_dir = None
|
||||
|
||||
if self.work_dir:
|
||||
output_dir = os.path.join(self.work_dir, "4_processed_data")
|
||||
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, "processed_data.csv").replace('\\', '/')
|
||||
default_output_path = os.path.join(output_dir, "cleaned_sampling_data.csv").replace('\\', '/')
|
||||
self.output_file.set_path(default_output_path)
|
||||
else:
|
||||
self.output_file.set_path("")
|
||||
|
||||
Reference in New Issue
Block a user