code: def add_seq(self, seq):
          
          self.buffer.append(seq)
          self.buf_count += 1
          if self.buf_count % self.buffer_size == 0: self.flush()
docs: Use this method to add a SeqRecord object to this fasta.