def make_organisms(self, genome_list, genome_dir):
for genome in genome_list:<EOL><INDENT>genome_path = genome_dir + genome<EOL>handle = open(genome_path, "<STR_LIT>")<EOL>print('<STR_LIT>', genome)<EOL>try:<EOL><INDENT>seq_record = SeqIO.read(handle, "<STR_LIT>")<EOL>self.organisms.append(Organism(seq_record, genome_path, self))<EOL>del(seq_record)<EOL><DEDENT>except ValueError as e:<EOL><INDENT>print(genome, str(e))<EOL><DEDENT>except AssertionError as e:<EOL><INDENT>print(genome, str(e))<EOL><DEDENT>except UnboundLocalError as e:<EOL><INDENT>print(genome, str(e))<EOL><DEDENT>handle.close()<EOL><DEDENT>
Organism factory method.

        Appends organisms to the organisms list.

        Args
            genome_list (list)
            genome_dir (string)