File size: 277 Bytes
e873d33
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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