[modify] minor modifications, see readme.txt in v0.0.5 the later half part

This commit is contained in:
2024-05-23 16:12:35 +08:00
parent 6cb768a05e
commit 2dec392e50
3 changed files with 11 additions and 7 deletions

View File

@ -271,10 +271,10 @@ def initialization():
warn_pause_exit(msg, 1, 2)
DATA_DIR = ws_conf.cell(row=2, column=2).value
AV = int(ws_conf.cell(row=3, column=2).value)
RR = int(ws_conf.cell(row=4, column=2).value)
RC = float(ws_conf.cell(row=5, column=2).value)
AXIS = ws_conf.cell(row=6, column=2).value
AXIS = int(ws_conf.cell(row=3, column=2).value)
AV = int(ws_conf.cell(row=4, column=2).value.split(',')[AXIS-1].strip())
RR = int(ws_conf.cell(row=5, column=2).value.split(',')[AXIS-1].strip())
RC = float(ws_conf.cell(row=6, column=2).value.split(',')[AXIS-1].strip())
wb_conf.close()
raw_data_dirs, result_files = traversal_files(DATA_DIR)
@ -313,7 +313,7 @@ def execution(args):
time_end = time.time()
time_total = time_end - time_start
msg = f"数据处理时间:{time_total//3600:02} h {time_total % 3600/60:05.2f} min"
msg = f"数据处理时间:{time_total // 3600:02} h {time_total % 3600 // 60:02} min {time_total % 60:02} s"
warn_pause_exit(msg, 1, 0)