yjwtheonly commited on
Commit
0ad4d45
1 Parent(s): aa664b0

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -139,7 +139,7 @@ for k, v in entity_raw_name.items():
139
  #chemical_mesh:c050048
140
  tp = k.split('_')[0]
141
  v = capitalize_the_first_letter(v)
142
- if len(v) <= 2:
143
  continue
144
  if tp == 'chemical':
145
  drug_dict[v] = k
 
139
  #chemical_mesh:c050048
140
  tp = k.split('_')[0]
141
  v = capitalize_the_first_letter(v)
142
+ if len(v) <= 4:
143
  continue
144
  if tp == 'chemical':
145
  drug_dict[v] = k