lingbionlp commited on
Commit
01ccff1
1 Parent(s): 8d47aa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -222,7 +222,11 @@ st.markdown('<table border="1"><tr><td>'+html_results+'</td></tr></table>', unsa
222
  #table
223
  data_entity=[]
224
  for ele in hpoid_count.keys():
225
- temp=[ele,biotag_dic.hpo_word[ele][0],hpoid_count[ele]] #hpoid, term name, count
 
 
 
 
226
  data_entity.append(temp)
227
 
228
 
 
222
  #table
223
  data_entity=[]
224
  for ele in hpoid_count.keys():
225
+ segs=ele.split(';')
226
+ term_name=''
227
+ for seg in segs:
228
+ term_name+=biotag_dic.hpo_word[ele][0]+';'
229
+ temp=[ele,term_name,hpoid_count[ele]] #hpoid, term name, count
230
  data_entity.append(temp)
231
 
232