From b6ab792ceba0071b40cd790bc5335e60f07b0f71 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Sun, 12 Apr 2020 17:40:24 +0200 Subject: [PATCH] C: made error message more detailed when checking that sequences and qualities match --- src/obiview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/obiview.c b/src/obiview.c index 5aa2212..3a09e4c 100755 --- a/src/obiview.c +++ b/src/obiview.c @@ -1407,7 +1407,7 @@ static char* view_check_qual_match_seqs(Obiview_p view) // Test that the lengths of the quality and the sequence are equal if ((size_t)qual_len != strlen(seq)) { - obidebug(1, "\nError checking the predicate for view %s: The sequences and sequence quality arrays match.", (view->infos)->name); + obidebug(1, "\nError checking the predicate for view %s: The sequences and sequence quality arrays match (index %lld, seq=%s, quality length = %d).", (view->infos)->name, j, seq, qual_len); return NULL; } }