Skip to content

Commit

Permalink
Avoid printing undefined when no sequence is availabl
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 20, 2024
1 parent 3872967 commit 511ea55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/alignments/src/MismatchParser/cigarToMismatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export function cigarToMismatches(
mismatches.push({
start: roffset + j,
type: 'mismatch',
base: r[j]!,
qual: q[j]!,
base: r[j] || 'X',
qual: q[j],
length: 1,
})
}
Expand Down

0 comments on commit 511ea55

Please sign in to comment.