react-mutation-mapper 0.8.23 → 0.8.24
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.
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1636,14 +1636,14 @@ function sortValue$2(indicator) {
|
|
|
1636
1636
|
return values;
|
|
1637
1637
|
}
|
|
1638
1638
|
function download$2(indicator) {
|
|
1639
|
+
var _a, _b;
|
|
1639
1640
|
if (!indicator) {
|
|
1640
1641
|
return 'NA';
|
|
1641
1642
|
}
|
|
1642
1643
|
var oncogenic = indicator.oncogenic ? indicator.oncogenic : 'Unknown';
|
|
1643
|
-
var
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
return oncogenic + ", " + level;
|
|
1644
|
+
var sensitivityLevel = ((_a = indicator.highestSensitiveLevel) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || 'level NA';
|
|
1645
|
+
var resistanceLevel = ((_b = indicator.highestResistanceLevel) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || 'resistance NA';
|
|
1646
|
+
return oncogenic + ", " + sensitivityLevel + ", " + resistanceLevel;
|
|
1647
1647
|
}
|
|
1648
1648
|
var OncoKB = /** @class */ (function (_super) {
|
|
1649
1649
|
__extends(OncoKB, _super);
|