@datagrok/peptides 1.23.9 → 1.23.11
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/CHANGELOG.md +8 -0
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/model.ts +1 -1
- package/src/viewers/position-statistics-viewer.ts +1 -1
- package/test-console-output-1.log +77 -81
- package/test-record-1.mp4 +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/peptides",
|
|
3
3
|
"friendlyName": "Peptides",
|
|
4
|
-
"version": "1.23.
|
|
4
|
+
"version": "1.23.11",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Davit Rizhinashvili",
|
|
7
7
|
"email": "drizhinashvili@datagrok.ai"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"directory": "packages/Peptides"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@datagrok-libraries/bio": "^5.
|
|
16
|
+
"@datagrok-libraries/bio": "^5.53.0",
|
|
17
17
|
"@datagrok-libraries/math": "^1.2.5",
|
|
18
18
|
"@datagrok-libraries/ml": "^6.8.2",
|
|
19
19
|
"@datagrok-libraries/statistics": "^1.2.12",
|
package/src/model.ts
CHANGED
|
@@ -468,7 +468,7 @@ export class PeptidesModel {
|
|
|
468
468
|
const trueLSTViewer = trueModel.findViewer(VIEWER_TYPE.LOGO_SUMMARY_TABLE) as LogoSummaryTable | null;
|
|
469
469
|
const selectionDescription: HTMLElement[] = [];
|
|
470
470
|
const selectedClusters: string = (trueLSTViewer === null ? [] :
|
|
471
|
-
trueLSTViewer.clusterSelection[CLUSTER_TYPE.ORIGINAL].concat(trueLSTViewer.clusterSelection[CLUSTER_TYPE.CUSTOM]))
|
|
471
|
+
(trueLSTViewer.clusterSelection?.[CLUSTER_TYPE.ORIGINAL] ?? []).concat(trueLSTViewer.clusterSelection?.[CLUSTER_TYPE.CUSTOM] ?? []))
|
|
472
472
|
.join(', ');
|
|
473
473
|
const htmlTextEl = (t: string): HTMLElement => {
|
|
474
474
|
const el = ui.divText(t);
|
|
@@ -91,7 +91,7 @@ export class SequencePositionStatsViewer extends DG.JsViewer {
|
|
|
91
91
|
|
|
92
92
|
setTimeout(() => {
|
|
93
93
|
this._boxPlotViewer!.props.title = 'Sequence Position Statistics';
|
|
94
|
-
this._boxPlotViewer!.props.description =
|
|
94
|
+
this._boxPlotViewer!.props.description = `${this.sequenceColumnName}: Position ${this.position + 1}`;
|
|
95
95
|
}, 200);
|
|
96
96
|
|
|
97
97
|
this._boxPlotViewer.props.statistics = ['min', 'max', 'avg', 'med', 'count'];
|