def get_list_element_from_database(database='<STR_LIT>'):
_file_path = os.path.abspath(os.path.dirname(__file__))<EOL>_ref_data_folder = os.path.join(_file_path, '<STR_LIT>')<EOL>_database_folder = os.path.join(_ref_data_folder, database)<EOL>if not os.path.exists(_ref_data_folder):<EOL><INDENT>os.makedirs(_ref_data_folder)<EOL>print("<STR_LIT>".format(_ref_data_folder))<EOL><DEDENT>if not os.path.exists(_database_folder):<EOL><INDENT>print("<STR_LIT>".format(database))<EOL>print("<STR_LIT>".format(database))<EOL>download_from_github(fname=database + '<STR_LIT>', path=_ref_data_folder)<EOL><DEDENT>if not os.path.exists(_database_folder + '<STR_LIT>'):<EOL><INDENT>_list_files = glob.glob(_database_folder + '<STR_LIT>')<EOL>if not _list_files:<EOL><INDENT>_list_files = glob.glob(_database_folder + '<STR_LIT>')<EOL><DEDENT>_empty_list_boo = not _list_files<EOL>if _empty_list_boo is True:<EOL><INDENT>raise ValueError("<STR_LIT>".format(_database_folder))<EOL><DEDENT>_list_short_filename_without_extension = [os.path.splitext(os.path.basename(_file))[<NUM_LIT:0>] for _file in _list_files]<EOL>if '<STR_LIT:->' in _list_short_filename_without_extension[<NUM_LIT:0>]:<EOL><INDENT>_list_element = list(set([_name.split('<STR_LIT:->')[<NUM_LIT:0>] for _name in _list_short_filename_without_extension]))<EOL><DEDENT>else:<EOL><INDENT>_list_letter_part = list(<EOL>set([re.split(r'<STR_LIT>', _name)[<NUM_LIT:0>] for _name in _list_short_filename_without_extension]))<EOL>_list_element = []<EOL>for each_letter_part in _list_letter_part:<EOL><INDENT>if len(each_letter_part) <= <NUM_LIT:2>:<EOL><INDENT>_list_element.append(each_letter_part)<EOL><DEDENT><DEDENT><DEDENT>_list_element.sort()<EOL>df_to_save = pd.DataFrame()<EOL>df_to_save['<STR_LIT>'] = _list_element<EOL>df_to_save.to_csv(_database_folder + '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>df_to_read = pd.read_csv(_database_folder + '<STR_LIT>')<EOL>_list_element = list(df_to_read['<STR_LIT>'])<EOL><DEDENT>return _list_element<EOL>
return a string array of all the element from the database

    Parameters:
    ==========
    database: string. Name of database

    Raises:
    ======
    ValueError if database can not be found