Skip to content

Commit

Permalink
No consolelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jun 6, 2024
1 parent 707dd13 commit 02b7b00
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@ function renderBlockData(self: LinearComparativeDisplay) {
const parent = getContainingView(self) as LinearComparativeViewModel
const sessionId = getRpcSessionId(self)
getSnapshot(parent)
// @ts-expect-error
console.log(getParent(self, 4).level)

return parent.initialized
? {
rpcManager,
Expand Down Expand Up @@ -203,7 +200,6 @@ async function renderBlockEffect(props: ReturnType<typeof renderBlockData>) {
sessionId: 'getFeats',
adapterConfig,
})) as Feature[]
console.log({ features, level })

return {
features: dedupe(features, f => f.id()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import MoreVertIcon from '@mui/icons-material/MoreVert'
import { LinearComparativeViewModel } from '../model'
import { TrackSelector as TrackSelectorIcon } from '@jbrowse/core/ui/Icons'

type LCV = LinearComparativeViewModel

const useStyles = makeStyles()(() => ({
headerBar: {
gridArea: '1/1/auto/span 2',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { getId, MAX_COLOR_RANGE } from '../drawSynteny'
import { LinearSyntenyViewModel } from '../../LinearSyntenyView/model'
import SyntenyContextMenu from './SyntenyContextMenu'
import { ClickCoord, getTooltip, onSynClick, onSynContextClick } from './util'
import { getParent } from 'mobx-state-tree'

type Timer = ReturnType<typeof setTimeout>

Expand Down Expand Up @@ -44,7 +43,6 @@ const LinearSyntenyRendering = observer(function ({
const currScrollFrame = useRef<number>()
const view = getContainingView(model) as LinearSyntenyViewModel
const width = view.width
console.log('wow', getParent(model, 4).level)
const delta = useRef(0)
const timeout = useRef<Timer>()
const [anchorEl, setAnchorEl] = useState<ClickCoord>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ export function drawRef(

ctx1.beginPath()
const offsets = view.views.map(v => v.offsetPx)
console.log('here', { level, featPositions })

const unitMultiplier = Math.floor(MAX_COLOR_RANGE / featPositions.length)

// this loop is optimized to draw many thin lines with a single ctx.stroke
Expand All @@ -66,7 +64,6 @@ export function drawRef(
const x22 = p22.offsetPx - offsets[level + 1]
const l1 = Math.abs(x12 - x11)
const l2 = Math.abs(x22 - x21)
console.log({ level, x11, x12, x21, x22, l1, l2 })
const y1 = 0
const y2 = height
const mid = (y2 - y1) / 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ function stateModelFactory(configSchema: AnyConfigurationSchemaType) {
* #action
*/
setFeatPositions(arg: FeatPos[]) {
console.log({ arg })
self.featPositions = arg
},
/**
Expand Down

0 comments on commit 02b7b00

Please sign in to comment.