Skip to content

Commit

Permalink
Fix "Open synteny view at this position" when file contains CIGAR X/=…
Browse files Browse the repository at this point in the history
… operators (#4436)
  • Loading branch information
cmdcolin committed Jun 13, 2024
1 parent 93271bc commit 63f9846
Show file tree
Hide file tree
Showing 4 changed files with 830 additions and 840 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function findPosInCigar(cigar: string[], startX: number) {
mateX += len
} else if (op === 'D') {
featX += min
} else if (op === 'M') {
} else if (op === 'M' || op === '=' || op === 'X') {
mateX += min
featX += min
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ exports[`renders one track, one region 1`] = `
/>
</button>
<div
class="MuiAutocomplete-root css-1j0qgw8-MuiAutocomplete-root"
class="MuiAutocomplete-root css-ka7ti6-MuiAutocomplete-root"
data-testid="autocomplete"
style="width: 175px;"
>
Expand Down Expand Up @@ -731,7 +731,7 @@ exports[`renders two tracks, two regions 1`] = `
/>
</button>
<div
class="MuiAutocomplete-root css-1j0qgw8-MuiAutocomplete-root"
class="MuiAutocomplete-root css-ka7ti6-MuiAutocomplete-root"
data-testid="autocomplete"
style="width: 283.990625px;"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ exports[`<JBrowseLinearGenomeView /> renders successfully 1`] = `
/>
</button>
<div
class="MuiAutocomplete-root css-ia8vjw-MuiAutocomplete-root"
class="MuiAutocomplete-root css-1y8r37a-MuiAutocomplete-root"
data-testid="autocomplete"
style="width: 175px;"
>
Expand Down
Loading

0 comments on commit 63f9846

Please sign in to comment.