Skip to content

Commit

Permalink
repacking, disabled for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Jan 30, 2025
1 parent 97bdcc0 commit afd9610
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/variant/variantTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import {makeVCFChords, sendChords} from "../jbrowse/circularViewUtils.js"
import {FileUtils, StringUtils, IGVColor, FeatureUtils} from "../../node_modules/igv-utils/src/index.js"
import CNVPytorTrack from "../cnvpytor/cnvpytorTrack.js"
import {doSortByAttributes} from "../sample/sampleUtils.js"
import {packFeatures} from "../feature/featureUtils.js"

const isString = StringUtils.isString

Expand Down Expand Up @@ -991,7 +992,8 @@ class VariantTrack extends TrackBase {
// Methods to support filtering api
set filter(f) {
this._filter = f
// this._repackCachedFeatures()
// TODO - repack? Repacking will cause features to move vertically, which might be unexpected
//this._repackCachedFeatures()
this.trackView.repaintViews()
}

Expand Down

0 comments on commit afd9610

Please sign in to comment.