protein_binding_search / index_list.py
roni
App switched to use Milvus instead of Annoy
e873d33
raw
history blame contribute delete
277 Bytes
import os.path
def read_index_list():
here = os.path.dirname(__file__)
fname = os.path.join(here, "available_organisms.txt")
indexes = ["All Species"]
with open(fname) as f:
for index in f:
indexes.append(index.strip())
return indexes