Skip to content

Commit

Permalink
fix for setting onlyHandleClicksForHighlightedSamples for gCNV track …
Browse files Browse the repository at this point in the history
…from file header (#1917)
  • Loading branch information
jethror1 authored Nov 20, 2024
1 parent 874d7aa commit 3555019
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/gcnv/gcnvTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ class GCNVTrack extends TrackBase {
this.config.samplesClickedToHighlight = {}
}

// enables onlyHandleClicksForHighlightedSamples to be set from file header
if (this.header.hasOwnProperty("onlyHandleClicksForHighlightedSamples")) {
this.config.onlyHandleClicksForHighlightedSamples = true
}

// Special track line properties
if (this.header.hasOwnProperty("highlight")) {
this.config.highlightSamples = {}
Expand Down

0 comments on commit 3555019

Please sign in to comment.