@datagrok/curves 1.12.0 → 1.12.1
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 +11 -0
- package/CLAUDE.md +0 -12
- package/CREDITS.md +79 -0
- package/agents/package-knowledge.yaml +29 -0
- package/dist/package-test.js +40 -0
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +40 -0
- package/dist/package.js.map +1 -1
- package/files/demo/Assay_Curves.csv +44 -0
- package/files/demo/Assay_Curves.layout +981 -0
- package/package.json +1 -1
- package/src/fit/fit-demo.ts +13 -0
- package/src/package-api.ts +7 -0
- package/src/package.g.ts +7 -0
- package/src/package.ts +10 -1
- package/test-console-output-1.log +108 -52
- package/test-record-1.mp4 +0 -0
package/dist/package.js
CHANGED
|
@@ -8574,6 +8574,7 @@ function convertDataToCurves(df, concentrationCol, readoutCol, batchIDCol, assay
|
|
|
8574
8574
|
"use strict";
|
|
8575
8575
|
__webpack_require__.r(__webpack_exports__);
|
|
8576
8576
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8577
|
+
/* harmony export */ assayCurvesDemo: () => (/* binding */ assayCurvesDemo),
|
|
8577
8578
|
/* harmony export */ createDemoDataFrame: () => (/* binding */ createDemoDataFrame),
|
|
8578
8579
|
/* harmony export */ createSigmoidPoints: () => (/* binding */ createSigmoidPoints),
|
|
8579
8580
|
/* harmony export */ curveDemo: () => (/* binding */ curveDemo)
|
|
@@ -8690,6 +8691,20 @@ function curveDemo() {
|
|
|
8690
8691
|
// tableView.addViewer('MultiCurveViewer');
|
|
8691
8692
|
});
|
|
8692
8693
|
}
|
|
8694
|
+
function assayCurvesDemo() {
|
|
8695
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8696
|
+
const df = yield datagrok_api_grok__WEBPACK_IMPORTED_MODULE_1__.data.loadTable(`${_package__WEBPACK_IMPORTED_MODULE_2__._package.webRoot}files/demo/Assay_Curves.csv`);
|
|
8697
|
+
yield df.meta.detectSemanticTypes();
|
|
8698
|
+
const layoutTXT = yield _package__WEBPACK_IMPORTED_MODULE_2__._package.files.readAsText('demo/Assay_Curves.layout');
|
|
8699
|
+
const layout = datagrok_api_dg__WEBPACK_IMPORTED_MODULE_0__.ViewLayout.fromJson(layoutTXT);
|
|
8700
|
+
df.selection.set(13, true);
|
|
8701
|
+
df.selection.set(14, true); // two curves for multicurve viewer
|
|
8702
|
+
const tv = datagrok_api_grok__WEBPACK_IMPORTED_MODULE_1__.shell.addTableView(df);
|
|
8703
|
+
yield datagrok_api_dg__WEBPACK_IMPORTED_MODULE_0__.delay(100);
|
|
8704
|
+
tv.loadLayout(layout, true);
|
|
8705
|
+
datagrok_api_grok__WEBPACK_IMPORTED_MODULE_1__.shell.info('Select cells in Trellis plot to see corresponding curves in Multi Curve Viewer.', { timeout: 10 });
|
|
8706
|
+
});
|
|
8707
|
+
}
|
|
8693
8708
|
|
|
8694
8709
|
|
|
8695
8710
|
/***/ },
|
|
@@ -10673,6 +10688,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10673
10688
|
/* harmony export */ _initCurves: () => (/* binding */ _initCurves),
|
|
10674
10689
|
/* harmony export */ addAggrStatisticsColumn: () => (/* binding */ addAggrStatisticsColumn),
|
|
10675
10690
|
/* harmony export */ addStatisticsColumn: () => (/* binding */ addStatisticsColumn),
|
|
10691
|
+
/* harmony export */ assayCurveFitDemo: () => (/* binding */ assayCurveFitDemo),
|
|
10676
10692
|
/* harmony export */ convertCompactDrToJsonFunc: () => (/* binding */ convertCompactDrToJsonFunc),
|
|
10677
10693
|
/* harmony export */ convertPzfxToJsonFunc: () => (/* binding */ convertPzfxToJsonFunc),
|
|
10678
10694
|
/* harmony export */ convertXmlCurveToJsonFunc: () => (/* binding */ convertXmlCurveToJsonFunc),
|
|
@@ -10723,6 +10739,14 @@ function curveFitDemo() {
|
|
|
10723
10739
|
yield _package__WEBPACK_IMPORTED_MODULE_0__.PackageFunctions.curveFitDemo();
|
|
10724
10740
|
});
|
|
10725
10741
|
}
|
|
10742
|
+
//name: Assay Curves
|
|
10743
|
+
//description: Dashboard with curves for multiple compounds, assays and targets
|
|
10744
|
+
//meta.demoPath: Curves | Assay Curves
|
|
10745
|
+
function assayCurveFitDemo() {
|
|
10746
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10747
|
+
yield _package__WEBPACK_IMPORTED_MODULE_0__.PackageFunctions.assayCurveFitDemo();
|
|
10748
|
+
});
|
|
10749
|
+
}
|
|
10726
10750
|
//meta.role: init
|
|
10727
10751
|
function _initCurves() {
|
|
10728
10752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10839,6 +10863,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10839
10863
|
/* harmony export */ _package: () => (/* binding */ _package),
|
|
10840
10864
|
/* harmony export */ addAggrStatisticsColumn: () => (/* reexport safe */ _package_g__WEBPACK_IMPORTED_MODULE_0__.addAggrStatisticsColumn),
|
|
10841
10865
|
/* harmony export */ addStatisticsColumn: () => (/* reexport safe */ _package_g__WEBPACK_IMPORTED_MODULE_0__.addStatisticsColumn),
|
|
10866
|
+
/* harmony export */ assayCurveFitDemo: () => (/* reexport safe */ _package_g__WEBPACK_IMPORTED_MODULE_0__.assayCurveFitDemo),
|
|
10842
10867
|
/* harmony export */ convertCompactDrToJsonFunc: () => (/* reexport safe */ _package_g__WEBPACK_IMPORTED_MODULE_0__.convertCompactDrToJsonFunc),
|
|
10843
10868
|
/* harmony export */ convertPzfxToJsonFunc: () => (/* reexport safe */ _package_g__WEBPACK_IMPORTED_MODULE_0__.convertPzfxToJsonFunc),
|
|
10844
10869
|
/* harmony export */ convertXmlCurveToJsonFunc: () => (/* reexport safe */ _package_g__WEBPACK_IMPORTED_MODULE_0__.convertXmlCurveToJsonFunc),
|
|
@@ -10923,6 +10948,11 @@ class PackageFunctions {
|
|
|
10923
10948
|
yield (0,_fit_fit_demo__WEBPACK_IMPORTED_MODULE_5__.curveDemo)();
|
|
10924
10949
|
});
|
|
10925
10950
|
}
|
|
10951
|
+
static assayCurveFitDemo() {
|
|
10952
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10953
|
+
yield (0,_fit_fit_demo__WEBPACK_IMPORTED_MODULE_5__.assayCurvesDemo)();
|
|
10954
|
+
});
|
|
10955
|
+
}
|
|
10926
10956
|
// @grok.decorators.func({
|
|
10927
10957
|
// name: 'Assay Plates',
|
|
10928
10958
|
// description: 'Assasy plates with concentration, layout and readout data',
|
|
@@ -11078,6 +11108,16 @@ __decorate([
|
|
|
11078
11108
|
__metadata("design:paramtypes", []),
|
|
11079
11109
|
__metadata("design:returntype", Promise)
|
|
11080
11110
|
], PackageFunctions, "curveFitDemo", null);
|
|
11111
|
+
__decorate([
|
|
11112
|
+
datagrok_api_grok__WEBPACK_IMPORTED_MODULE_2__.decorators.demo({
|
|
11113
|
+
name: 'Assay Curves',
|
|
11114
|
+
description: 'Dashboard with curves for multiple compounds, assays and targets',
|
|
11115
|
+
meta: { demoPath: 'Curves | Assay Curves' },
|
|
11116
|
+
}),
|
|
11117
|
+
__metadata("design:type", Function),
|
|
11118
|
+
__metadata("design:paramtypes", []),
|
|
11119
|
+
__metadata("design:returntype", Promise)
|
|
11120
|
+
], PackageFunctions, "assayCurveFitDemo", null);
|
|
11081
11121
|
__decorate([
|
|
11082
11122
|
datagrok_api_grok__WEBPACK_IMPORTED_MODULE_2__.decorators.init(),
|
|
11083
11123
|
__metadata("design:type", Function),
|