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

Fix exception message.

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