Skip to content

Commit c9bc27e

Browse files
committed
- fix bug
数据转换工具。修复加载ISAT数据前没有清空数据缓存的问题。
1 parent 9727043 commit c9bc27e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ISAT/widgets/converter_dialog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def run(self):
2626
raise NotImplementedError
2727

2828
def load_from_isat(self):
29+
self.annos.clear()
30+
self.cates = ()
2931
json_files = [file for file in os.listdir(self.isat_json_root) if file.endswith('.json')]
3032
num_json_files = len(json_files)
3133
for index, file in enumerate(json_files):

0 commit comments

Comments
 (0)