Skip to content
Snippets Groups Projects
Commit a5acf2d3 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Fix exception message.

parent 4eabbfff
Branches
Tags
No related merge requests found
...@@ -143,11 +143,11 @@ AlignmentHandle MergePairwiseAlignments(const AlignmentList& pairwise_alns, ...@@ -143,11 +143,11 @@ AlignmentHandle MergePairwiseAlignments(const AlignmentList& pairwise_alns,
AlignmentHandle ali_handle=*i; AlignmentHandle ali_handle=*i;
ConstSequenceHandle seq_handle=ali_handle.GetSequence(0); ConstSequenceHandle seq_handle=ali_handle.GetSequence(0);
if (seq_handle.GetOffset()!=ref_offset) { if (seq_handle.GetOffset()!=ref_offset) {
String error_string; std::ostringstream error_ss;
std::ostringstream error_ss(error_string); error_ss << "The offset of the first sequence in alignment "
error_ss << "The offset of the first sequence in alignment " << alignment_counter << << alignment_counter
"is not identical to the offset of the reference sequence." << std::endl; << " is not identical to the offset of the reference sequence.";
throw IntegrityError(error_string); throw IntegrityError(error_ss.str());
} }
alignment_counter+=1; alignment_counter+=1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment