优化代码格式

This commit is contained in:
Yorusora
2025-06-10 13:46:33 +08:00
parent 1a0284db16
commit bbd043cf58

View File

@ -1013,7 +1013,6 @@ class MainWindow_approximately_align(QMainWindow):
return Result().failure(info=Constants.DRAW_FAILURE + "\n" + format_exc()) return Result().failure(info=Constants.DRAW_FAILURE + "\n" + format_exc())
class Data: class Data:
def __init__(self): def __init__(self):
@ -1027,7 +1026,6 @@ class Data:
self.processed_downsample_Tho = None self.processed_downsample_Tho = None
self.processed_downsample_Abd = None self.processed_downsample_Abd = None
def open_file(self): def open_file(self):
if Path(Config["Path"]["Input_orgBcg"]).is_file(): if Path(Config["Path"]["Input_orgBcg"]).is_file():
Config["Path"]["Input_orgBcg"] = str(Path(Config["Path"]["Input_orgBcg"]).parent) Config["Path"]["Input_orgBcg"] = str(Path(Config["Path"]["Input_orgBcg"]).parent)