From a77b723370232018b458d6c7d87a2c98344ae18c Mon Sep 17 00:00:00 2001 From: Jordan Eizenga Date: Mon, 18 Sep 2023 11:27:00 -0700 Subject: [PATCH] fix minor bug in previous transcriptome PR --- src/transcriptome.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transcriptome.cpp b/src/transcriptome.cpp index 39a0a652d4c..8ccb924a880 100644 --- a/src/transcriptome.cpp +++ b/src/transcriptome.cpp @@ -2089,7 +2089,7 @@ bool Transcriptome::has_novel_exon_boundaries(const list & return true; } } - if (include_transcript_ends && i + 1 != transcript_path.path.mapping_size()) { + if (include_transcript_ends || i + 1 != transcript_path.path.mapping_size()) { // Check if right boundary is novel if (cur_mapping.position().offset() + cur_mapping.edit(0).from_length() != _graph->get_length(cur_handle)) { return true;