@datagrok/curves 1.10.8 → 1.10.10
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/detectors.js +1 -1
- package/dist/package-test.js +14 -24
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +14 -24
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/fit/multi-curve-viewer.ts +3 -0
- package/src/package.g.ts +11 -24
- package/test-console-output-1.log +29 -29
- package/test-record-1.mp4 +0 -0
package/detectors.js
CHANGED
|
@@ -9,7 +9,7 @@ const FIT_SEM_TYPE = 'fit';
|
|
|
9
9
|
const TAG_FIT_CHART_FORMAT = '.fitChartFormat';
|
|
10
10
|
const TAG_FIT_CHART_FORMAT_3DX = '3dx';
|
|
11
11
|
const RAW_PNG_SEM_TYPE = 'rawPng';
|
|
12
|
-
const likelyPNGColNames = ['image', 'png', 'thumbnail', 'img'];
|
|
12
|
+
const likelyPNGColNames = ['image', 'png', 'thumbnail', 'img', 'glyph', 'icon', 'picture', 'photo'];
|
|
13
13
|
/// <reference path="../../globals.d.ts" />
|
|
14
14
|
class CurvesPackageDetectors extends DG.Package {
|
|
15
15
|
//tags: semTypeDetector
|
package/dist/package-test.js
CHANGED
|
@@ -11244,6 +11244,7 @@ let MultiCurveViewer = MultiCurveViewer_1 = class MultiCurveViewer extends datag
|
|
|
11244
11244
|
this.showCurrentRowCurve = true;
|
|
11245
11245
|
this.showMouseOverRowCurve = true;
|
|
11246
11246
|
this.mergeColumnSeries = false;
|
|
11247
|
+
this.showOutliers = true;
|
|
11247
11248
|
this.rows = [];
|
|
11248
11249
|
this.data = new _datagrok_libraries_statistics_src_fit_fit_curve__WEBPACK_IMPORTED_MODULE_4__.FitChartData();
|
|
11249
11250
|
this.gridCellWidget = datagrok_api_dg__WEBPACK_IMPORTED_MODULE_0__.GridCellWidget.fromGridCell(this.createGridCell(''));
|
|
@@ -11260,6 +11261,7 @@ let MultiCurveViewer = MultiCurveViewer_1 = class MultiCurveViewer extends datag
|
|
|
11260
11261
|
this.showCurrentRowCurve = this.bool('showCurrentRowCurve', true);
|
|
11261
11262
|
this.showMouseOverRowCurve = this.bool('showMouseOverRowCurve', true);
|
|
11262
11263
|
this.mergeColumnSeries = this.bool('mergeColumnSeries', false);
|
|
11264
|
+
this.showOutliers = this.bool('showOutliers', true);
|
|
11263
11265
|
for (const p of _datagrok_libraries_statistics_src_fit_fit_curve__WEBPACK_IMPORTED_MODULE_4__.fitChartDataProperties)
|
|
11264
11266
|
this.addProperty(p.name === 'mergeSeries' ? 'mergeCellSeries' : p.name, p.propertyType, p.defaultValue, Object.assign(Object.assign({}, p.options), { showSlider: false }));
|
|
11265
11267
|
}
|
|
@@ -11356,6 +11358,7 @@ let MultiCurveViewer = MultiCurveViewer_1 = class MultiCurveViewer extends datag
|
|
|
11356
11358
|
series.pointColor = datagrok_api_dg__WEBPACK_IMPORTED_MODULE_0__.Color.toHtml(datagrok_api_dg__WEBPACK_IMPORTED_MODULE_0__.Color.getCategoricalColor(((_a = this.data.series) === null || _a === void 0 ? void 0 : _a.length) > 20 ? 0 : i));
|
|
11357
11359
|
series.fitLineColor = datagrok_api_dg__WEBPACK_IMPORTED_MODULE_0__.Color.toHtml(datagrok_api_dg__WEBPACK_IMPORTED_MODULE_0__.Color.getCategoricalColor(((_b = this.data.series) === null || _b === void 0 ? void 0 : _b.length) > 20 ? 0 : i));
|
|
11358
11360
|
}
|
|
11361
|
+
series.showOutliers = this.showOutliers;
|
|
11359
11362
|
series.showCurveConfidenceInterval = false;
|
|
11360
11363
|
series.droplines = [];
|
|
11361
11364
|
if (((_c = this.data.series) === null || _c === void 0 ? void 0 : _c.length) > 20) {
|
|
@@ -12204,7 +12207,7 @@ function _MultiCurveViewer() {
|
|
|
12204
12207
|
//test: curveFitDemo() //wait: 2000
|
|
12205
12208
|
function curveFitDemo() {
|
|
12206
12209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12207
|
-
_package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.curveFitDemo();
|
|
12210
|
+
yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.curveFitDemo();
|
|
12208
12211
|
});
|
|
12209
12212
|
}
|
|
12210
12213
|
//name: Assay Plates
|
|
@@ -12212,15 +12215,13 @@ function curveFitDemo() {
|
|
|
12212
12215
|
//meta.demoPath: Curves | Assay Plates
|
|
12213
12216
|
function assayPlatesDemo() {
|
|
12214
12217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12215
|
-
_package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.assayPlatesDemo();
|
|
12218
|
+
yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.assayPlatesDemo();
|
|
12216
12219
|
});
|
|
12217
12220
|
}
|
|
12218
|
-
//name: _initCurves
|
|
12219
12221
|
//tags: init
|
|
12220
12222
|
function _initCurves() {
|
|
12221
12223
|
_package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions._initCurves();
|
|
12222
12224
|
}
|
|
12223
|
-
//name: dataToCurves
|
|
12224
12225
|
//input: dataframe df
|
|
12225
12226
|
//input: column concentrationCol
|
|
12226
12227
|
//input: column readoutCol
|
|
@@ -12242,18 +12243,16 @@ function _initCurves() {
|
|
|
12242
12243
|
//output: dataframe result
|
|
12243
12244
|
function dataToCurves(df, concentrationCol, readoutCol, batchIDCol, assayCol, runIDCol, compoundIDCol, targetEntityCol, excludeOutliersCol, parentTable, fitParamColumns, reportedIC50Column, reportedQualifiedIC50Column, experimentIDColumn, qualifierColumn, additionalColumns, wellLevelJoinCol, parentLevelJoinCol) {
|
|
12244
12245
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12245
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.dataToCurves(df, concentrationCol, readoutCol, batchIDCol, assayCol, runIDCol, compoundIDCol, targetEntityCol, excludeOutliersCol, parentTable, fitParamColumns, reportedIC50Column, reportedQualifiedIC50Column, experimentIDColumn, qualifierColumn, additionalColumns, wellLevelJoinCol, parentLevelJoinCol);
|
|
12246
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.dataToCurves(df, concentrationCol, readoutCol, batchIDCol, assayCol, runIDCol, compoundIDCol, targetEntityCol, excludeOutliersCol, parentTable, fitParamColumns, reportedIC50Column, reportedQualifiedIC50Column, experimentIDColumn, qualifierColumn, additionalColumns, wellLevelJoinCol, parentLevelJoinCol);
|
|
12246
12247
|
});
|
|
12247
12248
|
}
|
|
12248
|
-
//name: dataToCurvesTopMenu
|
|
12249
12249
|
//output: dynamic result
|
|
12250
12250
|
//top-menu: Data | Curves | Data to Curves
|
|
12251
12251
|
function dataToCurvesTopMenu() {
|
|
12252
12252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12253
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.dataToCurvesTopMenu();
|
|
12253
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.dataToCurvesTopMenu();
|
|
12254
12254
|
});
|
|
12255
12255
|
}
|
|
12256
|
-
//name: addStatisticsColumn
|
|
12257
12256
|
//tags: Transform
|
|
12258
12257
|
//input: dataframe table
|
|
12259
12258
|
//input: string colName
|
|
@@ -12264,7 +12263,6 @@ function dataToCurvesTopMenu() {
|
|
|
12264
12263
|
function addStatisticsColumn(table, colName, propName, seriesNumber) {
|
|
12265
12264
|
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.addStatisticsColumn(table, colName, propName, seriesNumber);
|
|
12266
12265
|
}
|
|
12267
|
-
//name: addAggrStatisticsColumn
|
|
12268
12266
|
//tags: Transform
|
|
12269
12267
|
//input: dataframe table
|
|
12270
12268
|
//input: string colName
|
|
@@ -12275,17 +12273,15 @@ function addStatisticsColumn(table, colName, propName, seriesNumber) {
|
|
|
12275
12273
|
function addAggrStatisticsColumn(table, colName, propName, aggrType) {
|
|
12276
12274
|
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.addAggrStatisticsColumn(table, colName, propName, aggrType);
|
|
12277
12275
|
}
|
|
12278
|
-
//name: platesFolderPreview
|
|
12279
12276
|
//tags: folderViewer
|
|
12280
12277
|
//input: file folder
|
|
12281
12278
|
//input: list<file> files
|
|
12282
12279
|
//output: dynamic result
|
|
12283
12280
|
function platesFolderPreview(folder, files) {
|
|
12284
12281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12285
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.platesFolderPreview(folder, files);
|
|
12282
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.platesFolderPreview(folder, files);
|
|
12286
12283
|
});
|
|
12287
12284
|
}
|
|
12288
|
-
//name: previewPlate
|
|
12289
12285
|
//tags: fileViewer
|
|
12290
12286
|
//input: file file
|
|
12291
12287
|
//output: view result
|
|
@@ -12294,7 +12290,6 @@ function platesFolderPreview(folder, files) {
|
|
|
12294
12290
|
function previewPlate(file) {
|
|
12295
12291
|
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.previewPlate(file);
|
|
12296
12292
|
}
|
|
12297
|
-
//name: importPlate
|
|
12298
12293
|
//tags: file-handler
|
|
12299
12294
|
//input: string fileContent
|
|
12300
12295
|
//output: list<dataframe> result
|
|
@@ -12302,17 +12297,16 @@ function previewPlate(file) {
|
|
|
12302
12297
|
//meta.fileViewerCheck: Curves:checkFileIsPlate
|
|
12303
12298
|
function importPlate(fileContent) {
|
|
12304
12299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12305
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.importPlate(fileContent);
|
|
12300
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.importPlate(fileContent);
|
|
12306
12301
|
});
|
|
12307
12302
|
}
|
|
12308
|
-
//name: importPlateXlsx
|
|
12309
12303
|
//tags: file-handler
|
|
12310
12304
|
//input: blob fileContent
|
|
12311
12305
|
//meta.ext: xlsx
|
|
12312
12306
|
//meta.fileViewerCheck: Curves:checkExcelIsPlate
|
|
12313
12307
|
function importPlateXlsx(fileContent) {
|
|
12314
12308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12315
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.importPlateXlsx(fileContent);
|
|
12309
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.importPlateXlsx(fileContent);
|
|
12316
12310
|
});
|
|
12317
12311
|
}
|
|
12318
12312
|
//name: viewPlateXlsx
|
|
@@ -12323,35 +12317,31 @@ function importPlateXlsx(fileContent) {
|
|
|
12323
12317
|
//meta.fileViewerCheck: Curves:checkExcelIsPlate
|
|
12324
12318
|
function previewPlateXlsx(file) {
|
|
12325
12319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12326
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.previewPlateXlsx(file);
|
|
12320
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.previewPlateXlsx(file);
|
|
12327
12321
|
});
|
|
12328
12322
|
}
|
|
12329
|
-
//name: checkExcelIsPlate
|
|
12330
12323
|
//input: blob content
|
|
12331
12324
|
//output: bool result
|
|
12332
12325
|
function checkExcelIsPlate(content) {
|
|
12333
12326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12334
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.checkExcelIsPlate(content);
|
|
12327
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.checkExcelIsPlate(content);
|
|
12335
12328
|
});
|
|
12336
12329
|
}
|
|
12337
|
-
//name: checkFileIsPlate
|
|
12338
12330
|
//input: string content
|
|
12339
12331
|
//output: bool result
|
|
12340
12332
|
function checkFileIsPlate(content) {
|
|
12341
12333
|
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.checkFileIsPlate(content);
|
|
12342
12334
|
}
|
|
12343
|
-
//name: getPlateByBarcode
|
|
12344
12335
|
//input: string barcode
|
|
12345
12336
|
//output: dynamic result
|
|
12346
12337
|
function getPlateByBarcode(barcode) {
|
|
12347
12338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12348
|
-
return _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.getPlateByBarcode(barcode);
|
|
12339
|
+
return yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.getPlateByBarcode(barcode);
|
|
12349
12340
|
});
|
|
12350
12341
|
}
|
|
12351
|
-
//name: createDummyPlateData
|
|
12352
12342
|
function createDummyPlateData() {
|
|
12353
12343
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12354
|
-
_package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.createDummyPlateData();
|
|
12344
|
+
yield _package__WEBPACK_IMPORTED_MODULE_2__.PackageFunctions.createDummyPlateData();
|
|
12355
12345
|
});
|
|
12356
12346
|
}
|
|
12357
12347
|
//name: PlateGridCellRenderer
|