@datagrok/peptides 1.17.5 → 1.17.7
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/301.js +2 -2
- package/dist/997.js +2 -2
- package/dist/package-test.js +2 -2
- package/dist/package.js +2 -2
- package/package.json +2 -2
- package/src/widgets/peptides.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/peptides",
|
|
3
3
|
"friendlyName": "Peptides",
|
|
4
|
-
"version": "1.17.
|
|
4
|
+
"version": "1.17.7",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Davit Rizhinashvili",
|
|
7
7
|
"email": "drizhinashvili@datagrok.ai"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@datagrok-libraries/bio": "^5.39.14",
|
|
17
|
-
"@datagrok-libraries/ml": "^6.4.
|
|
17
|
+
"@datagrok-libraries/ml": "^6.4.10",
|
|
18
18
|
"@datagrok-libraries/statistics": "^1.2.11",
|
|
19
19
|
"@datagrok-libraries/utils": "^4.1.36",
|
|
20
20
|
"@datagrok-libraries/tutorials": "^1.3.11",
|
package/src/widgets/peptides.ts
CHANGED
|
@@ -185,7 +185,7 @@ export async function startAnalysis(activityColumn: DG.Column<number>, peptidesC
|
|
|
185
185
|
clustersColumn: DG.Column | null, sourceDf: DG.DataFrame, scaledCol: DG.Column<number>, scaling: C.SCALING_METHODS,
|
|
186
186
|
options: AnalysisOptions = {}): Promise<PeptidesModel | null> {
|
|
187
187
|
let model: PeptidesModel | null = null;
|
|
188
|
-
if (activityColumn.type !== DG.COLUMN_TYPE.FLOAT && activityColumn.type !== DG.COLUMN_TYPE.INT) {
|
|
188
|
+
if (activityColumn.type !== DG.COLUMN_TYPE.FLOAT && activityColumn.type !== DG.COLUMN_TYPE.INT && activityColumn.type !== DG.COLUMN_TYPE.QNUM) {
|
|
189
189
|
grok.shell.error('The activity column must be of numeric type!');
|
|
190
190
|
return model;
|
|
191
191
|
}
|