在导入数据时,将校验数据的扩展名是否合法
This commit is contained in:
@ -233,7 +233,7 @@ class Data:
|
||||
def open_file(self):
|
||||
path = str(Path(self.root_path) / ConfigParams.PUBLIC_PATH_PSG_TEXT / Path(str(self.sampID)))
|
||||
for value in Config["ChannelInput"].values():
|
||||
result = PublicFunc.examine_file(path, value)
|
||||
result = PublicFunc.examine_file(path, value, ConfigParams.ENDSWITH_TXT)
|
||||
if not result.status:
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user