Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Mar 3, 2021
1 parent 823186d commit ef4f11a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
24 changes: 0 additions & 24 deletions plugins/alignments/src/LinearSNPCoverageDisplay/models/model.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { types, cast } from 'mobx-state-tree'
import { getConf, readConfObject } from '@jbrowse/core/configuration'
import { getParentRenderProps } from '@jbrowse/core/util/tracks'
import { linearWiggleDisplayModelFactory } from '@jbrowse/plugin-wiggle'
import {
AnyConfigurationSchemaType,
Expand Down Expand Up @@ -170,29 +169,6 @@ const stateModelFactory = (
}
return filters
},

// get scaleOpts() {
// return {
// domain: self.domain,
// stats: self.stats,
// autoscaleType: getConf(self, 'autoscale'),
// scaleType: getConf(self, 'scaleType'),
// inverted: getConf(self, 'inverted'),
// }
// },

// get renderProps() {
// return {
// ...self.composedRenderProps,
// ...getParentRenderProps(self),
// notReady: !self.ready,
// height: self.height,
// displayModel: self,
// scaleOpts: this.scaleOpts,
// filters: self.filters,
// config: self.rendererConfig,
// }
// },
}))

export type SNPCoverageDisplayModel = ReturnType<typeof stateModelFactory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ test('several features', async () => {
highResolutionScaling: 1,
height: 100,
config: {},
ticks: { values: [0, 100] },
})

expect(result).toMatchSnapshot({
Expand Down

0 comments on commit ef4f11a

Please sign in to comment.