Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LZ0211 committed Jul 17, 2020
1 parent df141e6 commit a564054
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions AECA.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<<<<<<< HEAD
=======
#!/usr/bin/env python3
>>>>>>> 4860c7558cb142ab3539b1130094087c3aeb5fab
# coding=utf-8
import fix_qt_import_error
import re,os,sys,random,traceback
Expand Down
6 changes: 5 additions & 1 deletion Core/Engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,11 @@ def clear_data(self,text):
self.for_fitting[idx] = ''
if text in self.for_display:
idx = self.for_display.index(text)
self.for_display.pop(idx)
self.for_display.pop(idx)
if text in self.pos_tag:
self.pos_tag.pop(self.pos_tag.index(text))
if text in self.neg_tag:
self.neg_tag.pop(self.neg_tag.index(text))
if not self.selected in self.datas:
self.selected = ''
return changed
Expand Down

0 comments on commit a564054

Please sign in to comment.