1、完成了<数据精对齐>的所有代码,修复了部分内容

2、新增命名规范
This commit is contained in:
2025-05-08 19:53:01 +08:00
parent 6a250a64a0
commit baa2923e5b
11 changed files with 827 additions and 675 deletions

View File

@ -536,7 +536,7 @@ class MainWindow_label_check(QMainWindow):
# 保存
PublicFunc.progressbar_update(self, 1, 1, Constants.SAVING_DATA, 0)
# status, info = self.data.save()
total_rows = len(DataFrame(self.data.corrected_peak.reshape(-1)))
chunk_size = ConfigParams.LABEL_CHECK_SAVE_CHUNK_SIZE
with open(Config["Path"]["Save"], 'w') as f:
@ -968,9 +968,6 @@ class Data:
return False, Constants.SAVING_FAILURE + Constants.LABEL_CHECK_FAILURE_REASON["Peak_Not_Exist"]
try:
# DataFrame(self.corrected_peak.reshape(-1)).to_csv(self.file_path_save,
# index=False,
# header=False)
chunk.to_csv(self.file_path_save, mode='a', index=False, header=False)
except Exception:
return False, Constants.SAVING_FAILURE + Constants.LABEL_CHECK_FAILURE_REASON["Save_Exception"]