Skip to content

Commit

Permalink
Support auto detection of "interact" track type for bigInteract files…
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Jan 16, 2025
1 parent be430a7 commit 24e6fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bigwig/bwReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ class BWReader {
if (this.type === "bigwig") {
return "wig"
} else {
return this.autoSql && this.autoSql.table === "chromatinInteract" ? "interact" : "annotation"
return this.autoSql && ("interact" === this.autoSql.table || "chromatinInteract" === this.autoSql.table) ? "interact" : "annotation"
}
}

Expand Down

0 comments on commit 24e6fea

Please sign in to comment.