批量收录新题功能中关联度小于0.5的题目改为在题号列表中也不显示
This commit is contained in:
parent
a63d5ea942
commit
523f56040a
|
|
@ -61,11 +61,14 @@ class MyWindow_bdsl(QWidget,Ui_Form):
|
|||
for id,simrate in t:
|
||||
if simrate == 1:
|
||||
psrstring = "rep"+id+","
|
||||
else:
|
||||
elif simrate > 0.5:
|
||||
psrstring += id + ","
|
||||
if psrstring[-1] == ",":
|
||||
psrstring = psrstring[:-1]
|
||||
output += f"\\item [{psrstring}] {p}\n\n"
|
||||
if len(psrstring) > 0:
|
||||
output += f"\\item [{psrstring}] {p}\n\n"
|
||||
else:
|
||||
output += f"\\item {p}\n\n"
|
||||
count = 0
|
||||
for id,simrate in t:
|
||||
if simrate > 0.5:
|
||||
|
|
|
|||
Reference in New Issue