@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.js
CHANGED
|
@@ -8277,7 +8277,8 @@ function convertDataToCurves(df, concentrationCol, readoutCol, batchIDCol, assay
|
|
|
8277
8277
|
curvesCol.setTag('cell.renderer', 'fit');
|
|
8278
8278
|
// add group column
|
|
8279
8279
|
tableColList.push(datagrok_api_dg__WEBPACK_IMPORTED_MODULE_1__.Column.fromStrings(groupColumnName, curvesObjsArray.map((c) => c[1].groupKey)));
|
|
8280
|
-
const otherColumns = Object.keys(
|
|
8280
|
+
const otherColumns = curvesObjsArray.reduce((acc, c) => { Object.keys(c[1].info).forEach((k) => acc.add(k)); return acc; }, new Set());
|
|
8281
|
+
//Object.keys(curvesObjsArray[0][1].info);
|
|
8281
8282
|
for (const colName of otherColumns) {
|
|
8282
8283
|
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 : ''; }));
|
|
8283
8284
|
tableColList.push(col);
|