react-mutation-mapper 0.8.62 → 0.8.64
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.js
CHANGED
|
@@ -7891,10 +7891,10 @@ var LollipopMutationPlot = /** @class */ (function (_super) {
|
|
|
7891
7891
|
enumerable: false,
|
|
7892
7892
|
configurable: true,
|
|
7893
7893
|
writable: true,
|
|
7894
|
-
value: function (mutationsAtPosition, countsByPosition) {
|
|
7894
|
+
value: function (mutationsAtPosition, countsByPosition, group) {
|
|
7895
7895
|
var codon = mutationsAtPosition[0].proteinPosStart;
|
|
7896
7896
|
var count = countsByPosition[codon];
|
|
7897
|
-
var countInfo = this.props.lollipopTooltipCountInfo ? (this.props.lollipopTooltipCountInfo(count, mutationsAtPosition, this.props.axisMode)) : (React__namespace.createElement("strong", null,
|
|
7897
|
+
var countInfo = this.props.lollipopTooltipCountInfo ? (this.props.lollipopTooltipCountInfo(count, mutationsAtPosition, this.props.axisMode, group)) : (React__namespace.createElement("strong", null,
|
|
7898
7898
|
count,
|
|
7899
7899
|
" mutation", "" + (count !== 1 ? 's' : '')));
|
|
7900
7900
|
var label = lollipopLabelText(mutationsAtPosition);
|
|
@@ -7992,7 +7992,7 @@ var LollipopMutationPlot = /** @class */ (function (_super) {
|
|
|
7992
7992
|
group: group,
|
|
7993
7993
|
placement: placement,
|
|
7994
7994
|
count: mutationCount,
|
|
7995
|
-
tooltip: _this.lollipopTooltip(mutations, countsByPosition),
|
|
7995
|
+
tooltip: _this.lollipopTooltip(mutations, countsByPosition, group),
|
|
7996
7996
|
color: _this.props.getLollipopColor
|
|
7997
7997
|
? _this.props.getLollipopColor(mutations)
|
|
7998
7998
|
: getColorForProteinImpactType(mutations, DEFAULT_PROTEIN_IMPACT_TYPE_COLORS, _this.props.getMutationCount, _this.props.isPutativeDriver),
|
|
@@ -9735,6 +9735,9 @@ var DefaultMutationMapperStore = /** @class */ (function () {
|
|
|
9735
9735
|
}
|
|
9736
9736
|
});
|
|
9737
9737
|
}); },
|
|
9738
|
+
onError: function () {
|
|
9739
|
+
// allow client level handler to work
|
|
9740
|
+
},
|
|
9738
9741
|
}, undefined)
|
|
9739
9742
|
});
|
|
9740
9743
|
Object.defineProperty(this, "canonicalTranscript", {
|
|
@@ -10115,7 +10118,7 @@ var DefaultMutationMapperStore = /** @class */ (function () {
|
|
|
10115
10118
|
await: function () { return [_this.oncoKbCancerGenes]; },
|
|
10116
10119
|
invoke: function () {
|
|
10117
10120
|
return Promise.resolve(___default["default"].reduce(_this.oncoKbCancerGenes.result, function (map, next) {
|
|
10118
|
-
if (next.oncokbAnnotated) {
|
|
10121
|
+
if (next && next.oncokbAnnotated) {
|
|
10119
10122
|
map[next.entrezGeneId] = true;
|
|
10120
10123
|
}
|
|
10121
10124
|
return map;
|