code: def make_organisms(self, genome_list, genome_dir): 
  
          '''Organism factory method.
  
          Appends organisms to the organisms list.
  
          Args
              genome_list (list)
              genome_dir (string)
  
              '''
  
          for genome in genome_list:
  
              genome_path = genome_dir + genome
              handle = open(genome_path, "rU")
              print 'Adding organism attributes for', genome
  
              try:
                  seq_record = SeqIO.read(handle, "genbank")
  
                  self.organisms.append(Organism(seq_record, genome_path, self))
  
                  del(seq_record)
  
              except ValueError,e:
                  print genome, str(e)
  
              except AssertionError,e:
                  print genome, str(e)
  
              except UnboundLocalError,e:
                  print genome, str(e)
  
              handle.close(f make_organisms(self, genome_list, genome_dir): 
  
          '''Organism factory method.
  
          Appends organisms to the organisms list.
  
          Args
              genome_list (list)
              genome_dir (string)
  
              '''
  
          for genome in genome_list:
  
              genome_path = genome_dir + genome
              handle = open(genome_path, "rU")
              print 'Adding organism attributes for', genome
  
              try:
                  seq_record = SeqIO.read(handle, "genbank")
  
                  self.organisms.append(Organism(seq_record, genome_path, self))
  
                  del(seq_record)
  
              except ValueError,e:
                  print genome, str(e)
  
              except AssertionError,e:
                  print genome, str(e)
  
              except UnboundLocalError,e:
                  print genome, str(e)
  
              handle.close()
docs: Organism factory method.
  
          Appends organisms to the organisms list.
  
          Args
              genome_list (list)
              genome_dir (string)