Spaces:
Build error
Build error
lingbionlp
commited on
Commit
·
8200c72
1
Parent(s):
01ccff1
Update app.py
Browse files
app.py
CHANGED
@@ -225,7 +225,7 @@ 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[
|
229 |
temp=[ele,term_name,hpoid_count[ele]] #hpoid, term name, count
|
230 |
data_entity.append(temp)
|
231 |
|
|
|
225 |
segs=ele.split(';')
|
226 |
term_name=''
|
227 |
for seg in segs:
|
228 |
+
term_name+=biotag_dic.hpo_word[seg][0]+';'
|
229 |
temp=[ele,term_name,hpoid_count[ele]] #hpoid, term name, count
|
230 |
data_entity.append(temp)
|
231 |
|