pub fn write_aa_errors(
    &mut self,
    seq_name: &str,
    warnings: &[PeptideWarning],
    failed_genes: &[String],
  ) -> Result<(), Report> {
    let warnings = &warnings.iter().map(|PeptideWarning { warning, .. }| warning).join(";");
    let failed_genes = &format_failed_genes(failed_genes, ";");
    self.writer.write(&ErrorCsvEntry {
      seq_name,
      errors: "",
      warnings,
      failed_genes,
    })
  }
/// Writes one row into errors.csv file for the case of aa alignment errors
Writes one row into errors.csv file for the case of aa alignment errors
Writes one row into errors . csv file for the case of aa alignment errors
pub fn write_aa_errors(
    &mut self,
    seq_name: &str,
    warnings: &[PeptideWarning],
    failed_genes: &[String],
  ) -> Result<(), Report> {
    let warnings = &warnings.iter().map(|PeptideWarning { warning, .. }| warning).join(";");
    let failed_genes = &format_failed_genes(failed_genes, ";");
    self.writer.write(&ErrorCsvEntry {
      seq_name,
      errors: "",
      warnings,
      failed_genes,
    })
  }
pub fn write_aa_errors ( & mut self , seq_name : & str , warnings : & [ PeptideWarning ] , failed_genes : & [ String ] , ) -> Result < ( ) , Report > { let warnings = & warnings . iter ( ) . map ( | PeptideWarning { warning , .. } | warning ) . join ( " " ) ; let failed_genes = & format_failed_genes ( failed_genes , " " ) ; self . writer . write ( & ErrorCsvEntry { seq_name , errors : " " , warnings , failed_genes , } ) }
Writes one row into errors.csv file for the case of aa alignment errors
Writes one row into errors . csv file for the case of aa alignment errors
&mut self
seq_name
&str
warnings
&[PeptideWarning]
failed_genes
&[String]
&mut self
seq_name
&str
warnings
&[PeptideWarning]
failed_genes
&[String]