Skip to content

Commit

Permalink
Fix naming of group by tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Dec 19, 2024
1 parent 10ffbac commit e1c59ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const GroupByTagDialog = observer(function (props: {
session.addTrackConf({
...trackConf,
trackId: t1,
name: `${trackConf.name} (-)`,
name: `${trackConf.name} (${tag}:${tagValue})`,
displays: [
{
displayId: `${t1}-LinearAlignmentsDisplay`,
Expand Down
2 changes: 1 addition & 1 deletion plugins/alignments/src/PileupRenderer/renderMismatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function renderMismatches({
} else if (mismatch.type === 'insertion' && drawIndels) {
const pos = leftPx + extraHorizontallyFlippedOffset
const len = +mismatch.base || mismatch.length
const insW = Math.max(0, Math.min(1.2, 1 / bpPerPx))
const insW = Math.max(minSubfeatureWidth, Math.min(1.2, 1 / bpPerPx))
if (len < 10) {
fillRect(ctx, pos, topPx, insW, heightPx, canvasWidth, 'purple')
if (1 / bpPerPx >= charWidth && heightPx >= heightLim) {
Expand Down

0 comments on commit e1c59ea

Please sign in to comment.