Skip to content

Commit

Permalink
Cleanup lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Feb 15, 2021
1 parent 9c58492 commit adc2e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion plugins/linear-comparative-view/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import CalendarIcon from '@material-ui/icons/CalendarViewDay'
import { ConfigurationSchema, getConf } from '@jbrowse/core/configuration'
import AdapterType from '@jbrowse/core/pluggableElementTypes/AdapterType'
import DisplayType from '@jbrowse/core/pluggableElementTypes/DisplayType'
import SimpleFeature, { Feature } from '@jbrowse/core/util/simpleFeature'
import { Feature } from '@jbrowse/core/util/simpleFeature'
import {
createBaseTrackConfig,
createBaseTrackModel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ import TextField from '@material-ui/core/TextField'

// core
import { getSession } from '@jbrowse/core/util'
import SimpleFeature, {
Feature,
SimpleFeatureSerialized,
} from '@jbrowse/core/util/simpleFeature'
import { Feature } from '@jbrowse/core/util/simpleFeature'
// other
import { formatSeqFasta, SeqChunk } from '@jbrowse/core/util/formatFastaStrings'
import { LinearGenomeViewModel } from '..'
Expand Down Expand Up @@ -80,10 +77,10 @@ async function fetchSequence(
sessionId,
}),
),
)) as SimpleFeatureSerialized[][]
)) as Feature[][]

// assumes that we get whole sequence in a single getFeatures call
return chunks.map(chunk => new SimpleFeature(chunk[0]))
return chunks.map(chunk => chunk[0])
}

function SequenceDialog({
Expand Down

0 comments on commit adc2e6b

Please sign in to comment.