Skip to content

Commit

Permalink
simplify fastq validation
Browse files Browse the repository at this point in the history
  • Loading branch information
MikkelSchubert committed Feb 6, 2024
1 parent 736275f commit 8563024
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/fastq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,6 @@ fastq::read_unsafe(line_reader_base& reader)

if (!reader.getline(m_qualities)) {
throw fastq_error("partial FASTQ record; cut off after separator");
} else if (m_qualities.empty()) {
throw fastq_error("no qualities");
} else if (m_qualities.length() != m_sequence.length()) {
throw fastq_error("sequence/quality lengths do not match");
}
Expand Down

0 comments on commit 8563024

Please sign in to comment.