Skip to content

Commit 3e93b0a

Browse files
ewelsclaude
andcommitted
chore(simplify): fix stale mate_or_junction_before comment in align_to_one_transcript
The comment referenced a function name that never existed in ruSTAR (it was presumably copied from an earlier draft); the real call is `is_splice_boundary_before`. Collapse the now-out-of-date four-line block to a single factual line. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6b3292e commit 3e93b0a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/quant/transcriptome.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,8 @@ fn align_to_one_transcript(
384384
return None;
385385
}
386386

387-
// Determine if this block starts a new projected exon or extends the
388-
// previous one. STAR starts a new projected exon on: (a) the first
389-
// block, or (b) when the preceding canonSJ was a junction (>= 0). We
390-
// handle those boundaries via `mate_or_junction_before`.
387+
// STAR starts a new projected exon on the first block or after a
388+
// preceding canonSJ junction (>= 0); insertions coalesce.
391389
let start_new = iab == 0 || is_splice_boundary_before(align, iab);
392390

393391
if start_new {

0 commit comments

Comments
 (0)