pub fn write(
    &mut self,
    seq_name: &str,
    nuc_insertions: &[Insertion<Nuc>],
    translations: &[Translation],
  ) -> Result<(), Report> {
    self.writer.write(&InsertionCsvEntry {
      seq_name,
      insertions: format_nuc_insertions(nuc_insertions, ";"),
      aa_insertions: format_aa_insertions_from_translations(translations, ";"),
    })
  }
/// Writes one row into insertions.csv file
Writes one row into insertions.csv file
Writes one row into insertions . csv file
pub fn write(
    &mut self,
    seq_name: &str,
    nuc_insertions: &[Insertion<Nuc>],
    translations: &[Translation],
  ) -> Result<(), Report> {
    self.writer.write(&InsertionCsvEntry {
      seq_name,
      insertions: format_nuc_insertions(nuc_insertions, ";"),
      aa_insertions: format_aa_insertions_from_translations(translations, ";"),
    })
  }
pub fn write ( & mut self , seq_name : & str , nuc_insertions : & [ Insertion < Nuc > ] , translations : & [ Translation ] , ) -> Result < ( ) , Report > { self . writer . write ( & InsertionCsvEntry { seq_name , insertions : format_nuc_insertions ( nuc_insertions , " " ) , aa_insertions : format_aa_insertions_from_translations ( translations , " " ) , } ) }
Writes one row into insertions.csv file
Writes one row into insertions . csv file
&mut self
seq_name
&str
nuc_insertions
&[Insertion<Nuc>]
translations
&[Translation]
&mut self
seq_name
&str
nuc_insertions
&[Insertion<Nuc>]
translations
&[Translation]