From 24e6feaf31179e8cce8ec16502e4da1836534788 Mon Sep 17 00:00:00 2001 From: jrobinso <933148+jrobinso@users.noreply.github.com> Date: Thu, 16 Jan 2025 10:01:12 -0800 Subject: [PATCH] Support auto detection of "interact" track type for bigInteract files. See https://github.com/igvteam/igv-webapp/issues/308 --- js/bigwig/bwReader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/bigwig/bwReader.js b/js/bigwig/bwReader.js index 00e653a42..d522eb730 100644 --- a/js/bigwig/bwReader.js +++ b/js/bigwig/bwReader.js @@ -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" } }