Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 21, 2024
1 parent 6340ef3 commit 2caeb78
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ export function SharedLinearPileupDisplayMixin(
},
}))
.preProcessSnapshot(snap => {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (snap) {
// @ts-expect-error
const { colorBy, filterBy, ...rest } = snap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'

// locals
import { getUniqueTags } from '../../shared/getUniqueTags'
import { LinearAlignmentsDisplayModel } from '../../LinearAlignmentsDisplay/model'
import { defaultFilterFlags } from '../../shared/util'

function clone(c: unknown) {
Expand Down Expand Up @@ -78,7 +77,9 @@ const GroupByTagDialog = observer(function (props: {
<TextField
fullWidth
value={type}
onChange={event => setType(event.target.value)}
onChange={event => {
setType(event.target.value)
}}
label="Group by..."
select
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import PluginManager from '@jbrowse/core/PluginManager'
import { ConfigurationSchema } from '@jbrowse/core/configuration'
import { linearBasicDisplayConfigSchemaFactory } from '@jbrowse/plugin-linear-genome-view'
import { types } from 'mobx-state-tree'
import { defaultFilterFlags } from '../shared/util'

/**
Expand Down
1 change: 0 additions & 1 deletion plugins/alignments/src/LinearReadCloudDisplay/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import FilterListIcon from '@mui/icons-material/ClearAll'
// locals
import { ColorBy, FilterBy } from '../shared/types'
import { ChainData } from '../shared/fetchChains'
import { defaultFilterFlags } from '../shared/util'

// async
const FilterByTagDialog = lazy(
Expand Down
4 changes: 2 additions & 2 deletions test_data/volvox/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
{
"type": "AlignmentsTrack",
"trackId": "volvox_cram_pileup",
"name": "volvox-sorted.cram (contigA, LinearPileupDisplay, large height)",
"name": "volvox-sorted.cram (contigA, LinearPileupDisplay, large height, colorBy mappingQual)",
"category": ["Integration test"],
"metadata": {
"description": "this is a metadata description",
Expand Down Expand Up @@ -490,7 +490,7 @@
{
"type": "AlignmentsTrack",
"trackId": "volvox_alignments",
"name": "volvox-sorted.bam (ctgA, larger default height)",
"name": "volvox-sorted.bam (ctgA, larger default height, colorBy mappingQual)",
"category": ["Integration test"],
"assemblyNames": ["volvox", "volvox2"],
"adapter": {
Expand Down

0 comments on commit 2caeb78

Please sign in to comment.