@datagrok/curves 1.10.0 → 1.10.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/dist/package-test.js +2 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +2 -1
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
- package/src/fit/data-to-curves.ts +3 -1
- package/test-console-output-1.log +26 -27
- package/test-record-1.mp4 +0 -0
package/dist/package-test.js
CHANGED
|
@@ -9791,7 +9791,8 @@ function convertDataToCurves(df, concentrationCol, readoutCol, batchIDCol, assay
|
|
|
9791
9791
|
curvesCol.setTag('cell.renderer', 'fit');
|
|
9792
9792
|
// add group column
|
|
9793
9793
|
tableColList.push(datagrok_api_dg__WEBPACK_IMPORTED_MODULE_1__.Column.fromStrings(groupColumnName, curvesObjsArray.map((c) => c[1].groupKey)));
|
|
9794
|
-
const otherColumns = Object.keys(
|
|
9794
|
+
const otherColumns = curvesObjsArray.reduce((acc, c) => { Object.keys(c[1].info).forEach((k) => acc.add(k)); return acc; }, new Set());
|
|
9795
|
+
//Object.keys(curvesObjsArray[0][1].info);
|
|
9795
9796
|
for (const colName of otherColumns) {
|
|
9796
9797
|
const col = datagrok_api_dg__WEBPACK_IMPORTED_MODULE_1__.Column.fromStrings(colName, curvesObjsArray.map((c) => { var _a, _b, _c; return (_c = (_b = (_a = c[1].info[colName]) === null || _a === void 0 ? void 0 : _a.toString) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : ''; }));
|
|
9797
9798
|
tableColList.push(col);
|