Skip to content

Commit

Permalink
chr alias bug
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
jrobinso committed Oct 25, 2024
1 parent 3db773b commit 4bb8e33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions js/genome/chromAliasDefaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,18 @@ class ChromAliasDefaults {
} else if (Number.isInteger(Number(name))) {
record["ucsc"] = "chr" + name
}


}
}

for (let rec of aliasRecords) {
for (let a of Object.values(rec)) {
this.aliasRecordCache.set(a, rec)
}
this.aliasRecordCache.set(rec.chr.toLowerCase(), rec)
this.aliasRecordCache.set(rec.chr.toUpperCase(), rec)
}
this.aliasRecordCache.set(name.toLowerCase(), rec)
this.aliasRecordCache.set(name.toUpperCase(), rec)

}
}
Expand Down
2 changes: 1 addition & 1 deletion js/version.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const _version = "3.0.8"
const _version = "3.0.9"
function version() {
return _version
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "igv",
"version": "3.0.8",
"version": "3.0.9",
"main": "dist/igv.esm.js",
"browser": "dist/igv.js",
"module": "dist/igv.esm.js",
Expand Down

0 comments on commit 4bb8e33

Please sign in to comment.