Пример #1
0
def do_everything(species_lists, output_csvs_args, connection_args):
    import load_entered_data as m1
    if not species_lists: species_lists = m1.default_species_lists
    correct, unknown = m1.main(species_lists)
    import output_csvs as m2
    m2.main(*output_csvs_args)
    import pg_interface as m3
    m3.get_connection(*connection_args)
    groups = list(set(str(s[0]) for s in species_lists))
    m3.push_data(groups)
    
    return correct, unknown
Пример #2
0
def do_everything(species_lists):
    import load_entered_data as m1
    if not species_lists: species_lists = m1.default_species_lists
    correct, unknown = m1.main(species_lists)
    
    return correct, unknown