@jbrowse/plugin-arc 2.16.1 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,8 +15,7 @@ const mobx_1 = require("mobx");
|
|
|
15
15
|
// get tag from BAM or CRAM feature, where CRAM uses feature.get('tags') and
|
|
16
16
|
// BAM does not
|
|
17
17
|
function getTag(feature, tag) {
|
|
18
|
-
|
|
19
|
-
return tags !== undefined ? tags[tag] : feature.get(tag);
|
|
18
|
+
return feature.get('tags')[tag];
|
|
20
19
|
}
|
|
21
20
|
// use fallback alt tag, used in situations where upper case/lower case tags
|
|
22
21
|
// exist e.g. Mm/MM for base modifications
|
|
@@ -5,8 +5,7 @@ import { autorun } from 'mobx';
|
|
|
5
5
|
// get tag from BAM or CRAM feature, where CRAM uses feature.get('tags') and
|
|
6
6
|
// BAM does not
|
|
7
7
|
export function getTag(feature, tag) {
|
|
8
|
-
|
|
9
|
-
return tags !== undefined ? tags[tag] : feature.get(tag);
|
|
8
|
+
return feature.get('tags')[tag];
|
|
10
9
|
}
|
|
11
10
|
// use fallback alt tag, used in situations where upper case/lower case tags
|
|
12
11
|
// exist e.g. Mm/MM for base modifications
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-arc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "JBrowse 2 arc adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "eed30b5e671f8f7823652d7cecc51aa89226de46"
|
|
57
57
|
}
|