@datagrok/curves 1.10.0 → 1.10.2
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 +125 -52
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +125 -52
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
- package/src/fit/data-to-curves.ts +93 -13
- package/src/package-api.ts +2 -2
- package/src/package.g.ts +4 -10
- package/src/package.ts +13 -5
- package/test-console-output-1.log +22 -23
- package/test-record-1.mp4 +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/curves",
|
|
3
3
|
"friendlyName": "Curves",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.2",
|
|
5
5
|
"description": "Curves provides support for fitted curves (such as dose-response curves), including in-grid rendering, storing charts in cells, interactivity, and automatic fitting.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Dmytro Kovalyov",
|
|
@@ -101,7 +101,7 @@ export type ParentTableFormHistory = {
|
|
|
101
101
|
fitParams: FitFunctionEditorHistory | null,
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
function createParentTableForm() {
|
|
104
|
+
function createParentTableForm(onTableChange: (t: DG.DataFrame | null) => void) {
|
|
105
105
|
const tableInput = ui.input.table('Parent Table', {value: undefined, nullable: true, tooltipText: 'Table with parent data'});
|
|
106
106
|
const form = ui.form([]);
|
|
107
107
|
let fitFunctionEditor: ReturnType<typeof createFitFunctionEditor> | null = null;
|
|
@@ -113,6 +113,7 @@ function createParentTableForm() {
|
|
|
113
113
|
const onChanged = () => {
|
|
114
114
|
ui.empty(form);
|
|
115
115
|
form.appendChild(tableInput.root);
|
|
116
|
+
onTableChange(tableInput.value);
|
|
116
117
|
if (!tableInput.value) {
|
|
117
118
|
fitFunctionEditor = null;
|
|
118
119
|
return;
|
|
@@ -177,7 +178,7 @@ function createParentTableForm() {
|
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
|
|
180
|
-
function createWellTableForm() {
|
|
181
|
+
function createWellTableForm(onTableChange: (t: DG.DataFrame | null) => void) {
|
|
181
182
|
const tableInput = ui.input.table('Well Table', {value: grok.shell.tv.dataFrame, nullable: false, tooltipText: 'Table with well level data'});
|
|
182
183
|
let assayColInput: DG.InputBase<DG.Column | null>;
|
|
183
184
|
let concentrationColInput: DG.InputBase<DG.Column | null>;
|
|
@@ -192,6 +193,7 @@ function createWellTableForm() {
|
|
|
192
193
|
const onTableInputChange = () => {
|
|
193
194
|
const df = tableInput.value!;
|
|
194
195
|
ui.empty(form);
|
|
196
|
+
onTableChange(tableInput.value);
|
|
195
197
|
assayColInput = ui.input.column('Assay Name', {table: df, nullable: true, filter: (c) => c.isCategorical, tooltipText: 'Column with assay names'});
|
|
196
198
|
concentrationColInput = ui.input.column('Concentration', {table: df, nullable: false, filter: (c) => c.isNumerical, tooltipText: 'Column with concentration values'});
|
|
197
199
|
readoutColInput = ui.input.column('Readout', {table: df, nullable: false, filter: (c) => c.isNumerical, tooltipText: 'Column with readout values'});
|
|
@@ -239,6 +241,65 @@ function createWellTableForm() {
|
|
|
239
241
|
};
|
|
240
242
|
}
|
|
241
243
|
|
|
244
|
+
function createJoinEditor() {
|
|
245
|
+
const form = ui.divH([], {style: {alignItems: 'center'}});
|
|
246
|
+
let wellLevelColInput: DG.InputBase<DG.Column | null> | null = null;
|
|
247
|
+
let parentLevelColInput: DG.InputBase<DG.Column | null> | null = null;
|
|
248
|
+
let wellDataTable: DG.DataFrame | null = null;
|
|
249
|
+
let parentDataTable: DG.DataFrame | null = null;
|
|
250
|
+
const onTableChange = (wellLevelData: DG.DataFrame | null, parentLevelData: DG.DataFrame | null) => {
|
|
251
|
+
ui.empty(form);
|
|
252
|
+
if (!wellLevelData || !parentLevelData) {
|
|
253
|
+
wellLevelColInput = null;
|
|
254
|
+
parentLevelColInput = null;
|
|
255
|
+
wellDataTable = null;
|
|
256
|
+
parentDataTable = null;
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
wellDataTable = wellLevelData;
|
|
260
|
+
parentDataTable = parentLevelData;
|
|
261
|
+
wellLevelColInput = ui.input.column('JOIN', {table: wellLevelData, nullable: true, tooltipText: 'Column to join on from the well level data'});
|
|
262
|
+
parentLevelColInput = ui.input.column('ON', {table: parentLevelData, nullable: true, tooltipText: 'Column to join on from the parent level data'});
|
|
263
|
+
const potentialParentCol = wu(parentLevelData.columns.categorical).map((c) => {
|
|
264
|
+
let score = c.categories.length;
|
|
265
|
+
if (c.name.toLowerCase().includes('id'))
|
|
266
|
+
score += 10;
|
|
267
|
+
if (c.name.toLowerCase().includes('unique'))
|
|
268
|
+
score += 15;
|
|
269
|
+
return {col: c, score: score};
|
|
270
|
+
}).toArray().sort((a, b) => b.score - a.score)[0];
|
|
271
|
+
if (potentialParentCol?.col && potentialParentCol.score > 0) {
|
|
272
|
+
parentLevelColInput.value = potentialParentCol.col;
|
|
273
|
+
const n = potentialParentCol.col.name.toLowerCase();
|
|
274
|
+
const potentialWellCol = wu(wellLevelData.columns.categorical).filter((c) => c.name.toLowerCase().includes(n)).toArray()[0];
|
|
275
|
+
if (potentialWellCol)
|
|
276
|
+
wellLevelColInput.value = potentialWellCol;
|
|
277
|
+
}
|
|
278
|
+
const infoIcon = ui.icons.info(() => {}, 'Specify the columns that will be used to join the well level data with the parent level data. if not specified, combination of the compound ID, assay name, target entity and run ID will be used for joining.');
|
|
279
|
+
ui.appendAll(form, [infoIcon, wellLevelColInput.root, parentLevelColInput.root]);
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
return {
|
|
283
|
+
form,
|
|
284
|
+
getValues: () => (wellLevelColInput?.value && parentLevelColInput?.value) ? ({
|
|
285
|
+
wellLevelCol: wellLevelColInput?.value,
|
|
286
|
+
parentLevelCol: parentLevelColInput?.value,
|
|
287
|
+
}) : null,
|
|
288
|
+
getHistory: () => (wellLevelColInput?.value && parentLevelColInput?.value) ? ({
|
|
289
|
+
wellLevelCol: wellLevelColInput?.value?.name ?? null,
|
|
290
|
+
parentLevelCol: parentLevelColInput?.value?.name ?? null,
|
|
291
|
+
}) : null,
|
|
292
|
+
applyHistory: (history: {wellLevelCol: string | null, parentLevelCol: string | null}) => {
|
|
293
|
+
if (!history.wellLevelCol || !history.parentLevelCol || !wellDataTable || !parentDataTable)
|
|
294
|
+
return;
|
|
295
|
+
if (wellLevelColInput && parentLevelColInput) {
|
|
296
|
+
wellLevelColInput.value = wellDataTable.col(history.wellLevelCol);
|
|
297
|
+
parentLevelColInput.value = parentDataTable.col(history.parentLevelCol);
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
onTableChange: (wellLevelData: DG.DataFrame | null, parentLevelData: DG.DataFrame | null) => onTableChange(wellLevelData, parentLevelData),
|
|
301
|
+
};
|
|
302
|
+
}
|
|
242
303
|
|
|
243
304
|
export function dataToCurvesUI() {
|
|
244
305
|
const tv = grok.shell.tv;
|
|
@@ -246,12 +307,17 @@ export function dataToCurvesUI() {
|
|
|
246
307
|
grok.shell.warning('No open tableview');
|
|
247
308
|
return;
|
|
248
309
|
}
|
|
249
|
-
|
|
250
|
-
|
|
310
|
+
let wellLevelForm: ReturnType<typeof createWellTableForm> | null = null;
|
|
311
|
+
let parentTableForm: ReturnType<typeof createParentTableForm> | null = null;
|
|
312
|
+
|
|
313
|
+
const joinEditor = createJoinEditor();
|
|
314
|
+
wellLevelForm = createWellTableForm(() => joinEditor.onTableChange(wellLevelForm?.getValues()?.table ?? null, parentTableForm?.getTable() ?? null));
|
|
315
|
+
parentTableForm = createParentTableForm(() => joinEditor.onTableChange(wellLevelForm?.getValues()?.table ?? null, parentTableForm?.getTable() ?? null));
|
|
251
316
|
const horzForm = ui.divH([wellLevelForm.form, parentTableForm.form], {style: {minWidth: '400px', gap: '20px'}});
|
|
252
317
|
|
|
253
318
|
ui.dialog('Data to Curves')
|
|
254
319
|
.add(horzForm)
|
|
320
|
+
.add(joinEditor.form)
|
|
255
321
|
.onOK(async () => {
|
|
256
322
|
const formRes = wellLevelForm.getValues();
|
|
257
323
|
let parentLevelData: WellTableParentData | undefined = undefined;
|
|
@@ -270,7 +336,7 @@ export function dataToCurvesUI() {
|
|
|
270
336
|
additionalColumns: parentFormValues.additionalColumns ?? [],
|
|
271
337
|
};
|
|
272
338
|
}
|
|
273
|
-
|
|
339
|
+
const joinValues = joinEditor.getValues();
|
|
274
340
|
const {table, assayCol, batchIDCol, concentrationCol, readoutCol, compoundIDCol, excludeOutliersCol, runIDCol, targetEntityCol} = formRes;
|
|
275
341
|
const func = DG.Func.find({name: 'dataToCurves'})[0];
|
|
276
342
|
if (!func) {
|
|
@@ -297,6 +363,9 @@ export function dataToCurvesUI() {
|
|
|
297
363
|
experimentIDColumn: parentLevelData?.experimentIDColumn?.name,
|
|
298
364
|
qualifierColumn: parentLevelData?.qualifierColumn?.name,
|
|
299
365
|
additionalColumns: parentLevelData?.additionalColumns?.map((c) => c.name) ?? [],
|
|
366
|
+
// joinInfo
|
|
367
|
+
wellLevelJoinCol: joinValues?.wellLevelCol?.name,
|
|
368
|
+
parentLevelJoinCol: joinValues?.parentLevelCol?.name,
|
|
300
369
|
});
|
|
301
370
|
console.log(fc.toString());
|
|
302
371
|
const needsCreationScript = table.tags[DG.Tags.CreationScript] && (!parentLevelData?.table || parentLevelData.table.tags[DG.Tags.CreationScript]);
|
|
@@ -338,12 +407,14 @@ export function dataToCurvesUI() {
|
|
|
338
407
|
runIDCol: runIDCol?.name,
|
|
339
408
|
targetEntityCol: targetEntityCol?.name,
|
|
340
409
|
};
|
|
341
|
-
return {wells: JSON.stringify(Object.fromEntries(Object.entries(obj).filter(([_, v]) => !!v)) ?? {}), parent: JSON.stringify(parentTableForm.getHistory() ?? {})};
|
|
410
|
+
return {wells: JSON.stringify(Object.fromEntries(Object.entries(obj).filter(([_, v]) => !!v)) ?? {}), parent: JSON.stringify(parentTableForm.getHistory() ?? {}), join: JSON.stringify(joinEditor.getHistory() ?? {})};
|
|
342
411
|
}, (v) => {
|
|
343
412
|
const wells = JSON.parse(v?.wells ?? '{}');
|
|
344
413
|
const parent = JSON.parse(v?.parent ?? '{}');
|
|
345
414
|
wellLevelForm.applyHistory(wells);
|
|
346
415
|
parentTableForm.applyHistory(parent);
|
|
416
|
+
const joinHistory = JSON.parse(v?.join ?? '{}');
|
|
417
|
+
joinEditor.applyHistory(joinHistory);
|
|
347
418
|
});
|
|
348
419
|
}
|
|
349
420
|
export type WellTableParentData = {
|
|
@@ -353,7 +424,8 @@ export type WellTableParentData = {
|
|
|
353
424
|
|
|
354
425
|
export async function convertDataToCurves(df: DG.DataFrame,
|
|
355
426
|
concentrationCol: DG.Column, readoutCol: DG.Column, batchIDCol: DG.Column,
|
|
356
|
-
assayCol: DG.Column, runIDCol: DG.Column, compoundIDCol: DG.Column, targetEntityCol: DG.Column, excludeOutliersCol?: DG.Column, parentData?: WellTableParentData
|
|
427
|
+
assayCol: DG.Column, runIDCol: DG.Column, compoundIDCol: DG.Column, targetEntityCol: DG.Column, excludeOutliersCol?: DG.Column, parentData?: WellTableParentData,
|
|
428
|
+
joinInfo?: {wellLevelCol: DG.Column, parentLevelCol: DG.Column}
|
|
357
429
|
): Promise<DG.DataFrame> {
|
|
358
430
|
if (!concentrationCol || !readoutCol || !batchIDCol) {
|
|
359
431
|
grok.shell.warning('Please fill all required fields');
|
|
@@ -396,12 +468,18 @@ export async function convertDataToCurves(df: DG.DataFrame,
|
|
|
396
468
|
}
|
|
397
469
|
};
|
|
398
470
|
|
|
471
|
+
const hasJoinInfo = !!(joinInfo?.parentLevelCol && joinInfo?.wellLevelCol);
|
|
472
|
+
const parentCompoundIDCol = parentData?.table?.col(compoundIDCol.name);
|
|
473
|
+
const parentAssayCol = parentData?.table?.col(assayCol.name);
|
|
474
|
+
const parentTargetEntityCol = parentData?.table?.col(targetEntityCol.name);
|
|
475
|
+
const parentRunIDCol = parentData?.table?.col(runIDCol.name);
|
|
476
|
+
const hasParentGrouppingCols = parentCompoundIDCol && parentAssayCol && parentTargetEntityCol && parentRunIDCol;
|
|
477
|
+
|
|
399
478
|
const getGroupKey = (row: number) => `${getCompoundID(row)}||${getAssay(row)}||${getTargetEntity(row)}`;
|
|
400
|
-
const getCurveKey = (row: number) => `${getGroupKey(row)}||${getRunID(row)}
|
|
401
|
-
const getParentDataCurveKey =
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
(_row: number) => null;
|
|
479
|
+
const getCurveKey = !hasJoinInfo ? ((row: number) => `${getGroupKey(row)}||${getRunID(row)}`) : ((row: number) => `${joinInfo!.wellLevelCol.get(row)}`);
|
|
480
|
+
const getParentDataCurveKey = !hasJoinInfo ? (hasParentGrouppingCols ? ((row: number) =>
|
|
481
|
+
`${parentData!.table?.col(compoundIDCol.name)!.get(row)}||${parentData!.table?.col(assayCol.name)!.get(row)}||${parentData!.table?.col(targetEntityCol.name)!.get(row)}||${parentData!.table?.col(runIDCol.name)!.get(row)}`) :
|
|
482
|
+
((_row: number) => null)) : ((row: number) => `${joinInfo!.parentLevelCol.get(row)}`);
|
|
405
483
|
// put the parent data into the parentObj
|
|
406
484
|
const parentObj: {[curveKey: string]: {groupKey?: string, fitParams: number[], fitFunction: FitFunctionType, reportedIC50?: number, reportedQualifiedIC50?: number | string, experimentID?: string, qualifier?: string, additionalColumns?: {[colName: string]: any}}} = {};
|
|
407
485
|
if (parentData) {
|
|
@@ -509,7 +587,9 @@ export async function convertDataToCurves(df: DG.DataFrame,
|
|
|
509
587
|
// add group column
|
|
510
588
|
tableColList.push(DG.Column.fromStrings(groupColumnName, curvesObjsArray.map((c) => c[1].groupKey)));
|
|
511
589
|
|
|
512
|
-
const otherColumns = Object.keys(
|
|
590
|
+
const otherColumns = curvesObjsArray.reduce((acc, c) => { Object.keys(c[1].info).forEach((k) => acc.add(k)); return acc; }, new Set<string>());
|
|
591
|
+
|
|
592
|
+
//Object.keys(curvesObjsArray[0][1].info);
|
|
513
593
|
|
|
514
594
|
for (const colName of otherColumns) {
|
|
515
595
|
const col = DG.Column.fromStrings(colName, curvesObjsArray.map((c) =>
|
package/src/package-api.ts
CHANGED
|
@@ -80,8 +80,8 @@ export namespace queries {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export namespace funcs {
|
|
83
|
-
export async function
|
|
84
|
-
return await grok.functions.call('Curves:
|
|
83
|
+
export async function platesAppTreeBrowserTempDisabled(treeNode: any , browseView: DG.View ): Promise<void> {
|
|
84
|
+
return await grok.functions.call('Curves:PlatesAppTreeBrowserTempDisabled', { treeNode, browseView });
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export async function fitChartCellRenderer(): Promise<any> {
|
package/src/package.g.ts
CHANGED
|
@@ -62,9 +62,11 @@ export function _initCurves() {
|
|
|
62
62
|
//input: string experimentIDColumn { nullable: true }
|
|
63
63
|
//input: string qualifierColumn { nullable: true }
|
|
64
64
|
//input: list<string> additionalColumns { nullable: true }
|
|
65
|
+
//input: string wellLevelJoinCol { nullable: true }
|
|
66
|
+
//input: string parentLevelJoinCol { nullable: true }
|
|
65
67
|
//output: dataframe result
|
|
66
|
-
export async function dataToCurves(df: DG.DataFrame, concentrationCol: DG.Column, readoutCol: DG.Column, batchIDCol: DG.Column, assayCol: DG.Column, runIDCol: DG.Column, compoundIDCol: DG.Column, targetEntityCol: DG.Column, excludeOutliersCol: DG.Column, parentTable: DG.DataFrame, fitParamColumns: string[], reportedIC50Column: string, reportedQualifiedIC50Column: string, experimentIDColumn: string, qualifierColumn: string, additionalColumns: string[]) {
|
|
67
|
-
return PackageFunctions.dataToCurves(df, concentrationCol, readoutCol, batchIDCol, assayCol, runIDCol, compoundIDCol, targetEntityCol, excludeOutliersCol, parentTable, fitParamColumns, reportedIC50Column, reportedQualifiedIC50Column, experimentIDColumn, qualifierColumn, additionalColumns);
|
|
68
|
+
export async function dataToCurves(df: DG.DataFrame, concentrationCol: DG.Column, readoutCol: DG.Column, batchIDCol: DG.Column, assayCol: DG.Column, runIDCol: DG.Column, compoundIDCol: DG.Column, targetEntityCol: DG.Column, excludeOutliersCol: DG.Column, parentTable: DG.DataFrame, fitParamColumns: string[], reportedIC50Column: string, reportedQualifiedIC50Column: string, experimentIDColumn: string, qualifierColumn: string, additionalColumns: string[], wellLevelJoinCol: string, parentLevelJoinCol: string) {
|
|
69
|
+
return PackageFunctions.dataToCurves(df, concentrationCol, readoutCol, batchIDCol, assayCol, runIDCol, compoundIDCol, targetEntityCol, excludeOutliersCol, parentTable, fitParamColumns, reportedIC50Column, reportedQualifiedIC50Column, experimentIDColumn, qualifierColumn, additionalColumns, wellLevelJoinCol, parentLevelJoinCol);
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
//name: dataToCurvesTopMenu
|
|
@@ -160,14 +162,6 @@ export function checkFileIsPlate(content: string) {
|
|
|
160
162
|
return PackageFunctions.checkFileIsPlate(content);
|
|
161
163
|
}
|
|
162
164
|
|
|
163
|
-
//name: Browse
|
|
164
|
-
//tags: app
|
|
165
|
-
//output: view result
|
|
166
|
-
//meta.browsePath: Plates
|
|
167
|
-
export function platesApp() {
|
|
168
|
-
return PackageFunctions.platesApp();
|
|
169
|
-
}
|
|
170
|
-
|
|
171
165
|
//name: getPlateByBarcode
|
|
172
166
|
//input: string barcode
|
|
173
167
|
//output: dynamic result
|
package/src/package.ts
CHANGED
|
@@ -81,9 +81,15 @@ export class PackageFunctions {
|
|
|
81
81
|
@grok.decorators.param({options: {nullable: true}})reportedIC50Column?: string,
|
|
82
82
|
@grok.decorators.param({options: {nullable: true}})reportedQualifiedIC50Column?: string,
|
|
83
83
|
@grok.decorators.param({options: {nullable: true}})experimentIDColumn?: string, @grok.decorators.param({options: {nullable: true}})qualifierColumn?: string,
|
|
84
|
-
@grok.decorators.param({options: {nullable: true}})additionalColumns?: string[]
|
|
84
|
+
@grok.decorators.param({options: {nullable: true}})additionalColumns?: string[],
|
|
85
|
+
@grok.decorators.param({options: {nullable: true}})wellLevelJoinCol?: string,
|
|
86
|
+
@grok.decorators.param({options: {nullable: true}})parentLevelJoinCol?: string
|
|
85
87
|
): Promise<DG.DataFrame> {
|
|
86
88
|
const pt = parentTable;
|
|
89
|
+
const joinInfo = pt && wellLevelJoinCol && parentLevelJoinCol && df.col(wellLevelJoinCol) && pt.col(parentLevelJoinCol) ? {
|
|
90
|
+
wellLevelCol: df.col(wellLevelJoinCol)!,
|
|
91
|
+
parentLevelCol: pt.col(parentLevelJoinCol)!,
|
|
92
|
+
} : undefined;
|
|
87
93
|
// this needs to work with datasync so we use wide format
|
|
88
94
|
return convertDataToCurves(df, concentrationCol, readoutCol, batchIDCol, assayCol, runIDCol, compoundIDCol, targetEntityCol, excludeOutliersCol, {
|
|
89
95
|
table: pt,
|
|
@@ -93,7 +99,9 @@ export class PackageFunctions {
|
|
|
93
99
|
experimentIDColumn: experimentIDColumn ? pt?.col(experimentIDColumn) ?? undefined : undefined,
|
|
94
100
|
qualifierColumn: qualifierColumn ? pt?.col(qualifierColumn) ?? undefined : undefined,
|
|
95
101
|
additionalColumns: (additionalColumns ?? []).map((c) => pt?.col(c)).filter((c) => c != null) as DG.Column[],
|
|
96
|
-
}
|
|
102
|
+
},
|
|
103
|
+
joinInfo
|
|
104
|
+
);
|
|
97
105
|
}
|
|
98
106
|
|
|
99
107
|
@grok.decorators.func({'top-menu': 'Data | Curves | Data to Curves'})
|
|
@@ -248,7 +256,7 @@ export class PackageFunctions {
|
|
|
248
256
|
return PlateReader.getReader(content) != null;
|
|
249
257
|
}
|
|
250
258
|
|
|
251
|
-
@grok.decorators.app({name: 'Browse', browsePath: 'Plates'})
|
|
259
|
+
// @grok.decorators.app({name: 'Browse', browsePath: 'Plates'})
|
|
252
260
|
static platesApp(): DG.View {
|
|
253
261
|
return platesAppView();
|
|
254
262
|
}
|
|
@@ -266,9 +274,9 @@ export class PackageFunctions {
|
|
|
266
274
|
}
|
|
267
275
|
}
|
|
268
276
|
|
|
269
|
-
//name:
|
|
277
|
+
//name: platesAppTreeBrowserTempDisabled
|
|
270
278
|
//input: dynamic treeNode
|
|
271
279
|
//input: view browseView
|
|
272
|
-
export async function
|
|
280
|
+
export async function platesAppTreeBrowserTempDisabled(treeNode: DG.TreeViewGroup, browseView: DG.BrowsePanel) {
|
|
273
281
|
await initPlatesAppTree(treeNode);
|
|
274
282
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/packages/published/files/Curves/1.10.
|
|
2
|
-
CONSOLE LOG REQUEST: 200,
|
|
3
|
-
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/packages/published/files/Curves/1.10.0.X-8af8ea92/hv5hsDKiXiime2fXUoDH2bhlXZLlBt5F/1/dist/package-test.js
|
|
1
|
+
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/packages/published/files/Curves/1.10.2.X-e423d4b0/ZhK4At9fX1BakFROWFk37niOLX3wgOXD/1/dist/package.js
|
|
2
|
+
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/packages/published/files/Curves/1.10.2.X-e423d4b0/ZhK4At9fX1BakFROWFk37niOLX3wgOXD/1/dist/package-test.js
|
|
4
3
|
CONSOLE LOG ENTRY: --------------------
|
|
5
4
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/help/datagrok/datagrok.md
|
|
6
5
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/font/Roboto-LightItalic.woff2
|
|
7
|
-
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs?text=package.id%2520%253D%2520%
|
|
6
|
+
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs?text=package.id%2520%253D%2520%25221e7e5210-5e50-11f0-f17a-9f46e67b95b6%2522
|
|
8
7
|
CONSOLE LOG ENTRY: Running tests
|
|
9
8
|
CONSOLE LOG ENTRY: JSHandle@object
|
|
10
9
|
CONSOLE LOG ENTRY: Started creation category
|
|
@@ -22,7 +21,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
22
21
|
CONSOLE LOG ENTRY: Started detectors category
|
|
23
22
|
CONSOLE LOG ENTRY: test false
|
|
24
23
|
CONSOLE LOG ENTRY: Started detectors detectFitCurves
|
|
25
|
-
CONSOLE LOG ENTRY: Finished detectors detectFitCurves for
|
|
24
|
+
CONSOLE LOG ENTRY: Finished detectors detectFitCurves for 19 ms
|
|
26
25
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
27
26
|
CONSOLE LOG ENTRY: Started Detectors category
|
|
28
27
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
@@ -38,7 +37,7 @@ CONSOLE LOG ENTRY: Started Detectors category
|
|
|
38
37
|
CONSOLE LOG ENTRY: test false
|
|
39
38
|
CONSOLE LOG ENTRY: Started Detectors detectXMLCurveChart
|
|
40
39
|
CONSOLE LOG ENTRY: System:AppData/Curves/undefined
|
|
41
|
-
CONSOLE LOG ENTRY: Finished Detectors detectXMLCurveChart for
|
|
40
|
+
CONSOLE LOG ENTRY: Finished Detectors detectXMLCurveChart for 13 ms
|
|
42
41
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
43
42
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
44
43
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -74,7 +73,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
74
73
|
CONSOLE LOG ENTRY: Started fit category
|
|
75
74
|
CONSOLE LOG ENTRY: test false
|
|
76
75
|
CONSOLE LOG ENTRY: Started fit fitSeries linear benchmark
|
|
77
|
-
CONSOLE LOG ENTRY: Finished fit fitSeries linear benchmark for
|
|
76
|
+
CONSOLE LOG ENTRY: Finished fit fitSeries linear benchmark for 18 ms
|
|
78
77
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
79
78
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
80
79
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -92,7 +91,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
92
91
|
CONSOLE LOG ENTRY: Started fit category
|
|
93
92
|
CONSOLE LOG ENTRY: test false
|
|
94
93
|
CONSOLE LOG ENTRY: Started fit fitSeries polynomial benchmark
|
|
95
|
-
CONSOLE LOG ENTRY: Finished fit fitSeries polynomial benchmark for
|
|
94
|
+
CONSOLE LOG ENTRY: Finished fit fitSeries polynomial benchmark for 10 ms
|
|
96
95
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
97
96
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
98
97
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -101,7 +100,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
101
100
|
CONSOLE LOG ENTRY: Started fit category
|
|
102
101
|
CONSOLE LOG ENTRY: test false
|
|
103
102
|
CONSOLE LOG ENTRY: Started fit fitSeries sigmoid benchmark
|
|
104
|
-
CONSOLE LOG ENTRY: Finished fit fitSeries sigmoid benchmark for
|
|
103
|
+
CONSOLE LOG ENTRY: Finished fit fitSeries sigmoid benchmark for 11 ms
|
|
105
104
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
106
105
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
107
106
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -110,7 +109,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
110
109
|
CONSOLE LOG ENTRY: Started fit category
|
|
111
110
|
CONSOLE LOG ENTRY: test false
|
|
112
111
|
CONSOLE LOG ENTRY: Started fit fitSeries
|
|
113
|
-
CONSOLE LOG ENTRY: Finished fit fitSeries for
|
|
112
|
+
CONSOLE LOG ENTRY: Finished fit fitSeries for 35 ms
|
|
114
113
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
115
114
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
116
115
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -137,7 +136,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
137
136
|
CONSOLE LOG ENTRY: Started fit category
|
|
138
137
|
CONSOLE LOG ENTRY: test false
|
|
139
138
|
CONSOLE LOG ENTRY: Started fit getSeriesFitFunction
|
|
140
|
-
CONSOLE LOG ENTRY: Finished fit getSeriesFitFunction for
|
|
139
|
+
CONSOLE LOG ENTRY: Finished fit getSeriesFitFunction for 1 ms
|
|
141
140
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
142
141
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
143
142
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -146,7 +145,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
146
145
|
CONSOLE LOG ENTRY: Started fit category
|
|
147
146
|
CONSOLE LOG ENTRY: test false
|
|
148
147
|
CONSOLE LOG ENTRY: Started fit getSeriesStatistics
|
|
149
|
-
CONSOLE LOG ENTRY: Finished fit getSeriesStatistics for
|
|
148
|
+
CONSOLE LOG ENTRY: Finished fit getSeriesStatistics for 1 ms
|
|
150
149
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
151
150
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
152
151
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -209,7 +208,7 @@ CONSOLE LOG ENTRY: M , 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.
|
|
|
209
208
|
CONSOLE LOG ENTRY: N , 0.0000100, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000100,
|
|
210
209
|
CONSOLE LOG ENTRY: O , 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000000,
|
|
211
210
|
CONSOLE LOG ENTRY: P , , , , , , , , , , , , , , , , , , , , , , ,
|
|
212
|
-
CONSOLE LOG ENTRY: Finished plates fromCsvPlate for
|
|
211
|
+
CONSOLE LOG ENTRY: Finished plates fromCsvPlate for 13 ms
|
|
213
212
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
214
213
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
215
214
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -224,7 +223,7 @@ CONSOLE LOG REQUEST: 404, http://localhost:8080/help/dialogs/inspect-plate.md
|
|
|
224
223
|
CONSOLE LOG ENTRY: Failed to load resource: the server responded with a status of 404 (Not Found)
|
|
225
224
|
CONSOLE LOG REQUEST: 404, http://localhost:8080/help/dialogs/inspect-plate.mdx
|
|
226
225
|
CONSOLE LOG ENTRY: Failed to load resource: the server responded with a status of 404 (Not Found)
|
|
227
|
-
CONSOLE LOG ENTRY: Finished plates fromExcel for
|
|
226
|
+
CONSOLE LOG ENTRY: Finished plates fromExcel for 10315 ms
|
|
228
227
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
229
228
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
230
229
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -290,7 +289,7 @@ CONSOLE LOG ENTRY: M , 0.15, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.08, 0.09, 0.1
|
|
|
290
289
|
CONSOLE LOG ENTRY: N , 0.07, 0.07, 0.08, 0.08, 0.10, 0.12, 0.13, 0.15, 0.15, 0.15, 0.15, 0.07, 0.07, 0.07, 0.07, 0.08, 0.08, 0.09, 0.11, 0.14, 0.15, 0.15,
|
|
291
290
|
CONSOLE LOG ENTRY: O , 0.15, 0.07, 0.08, 0.31, 0.10, 0.11, 0.13, 0.14, 0.15, 0.15, 0.15, 0.07, 0.07, 0.07, 0.07, 0.07, 0.08, 0.09, 0.11, 0.14, 0.14, 0.07,
|
|
292
291
|
CONSOLE LOG ENTRY: P , , , , , , , , , , , , , , , , , , , , , , ,
|
|
293
|
-
CONSOLE LOG ENTRY: Finished plates fromFile for
|
|
292
|
+
CONSOLE LOG ENTRY: Finished plates fromFile for 102 ms
|
|
294
293
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
295
294
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
296
295
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -353,7 +352,7 @@ CONSOLE LOG ENTRY: M , 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.
|
|
|
353
352
|
CONSOLE LOG ENTRY: N , 0.0000100, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000100,
|
|
354
353
|
CONSOLE LOG ENTRY: O , 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000100, 0.0000040, 0.0000016, 0.0000007, 0.0000003, 0.0000001, 0.0000000, 0.0000000, 0.0000000, 0.0000000, 0.0000000,
|
|
355
354
|
CONSOLE LOG ENTRY: P , , , , , , , , , , , , , , , , , , , , , , ,
|
|
356
|
-
CONSOLE LOG ENTRY: Finished plates mergePlates for
|
|
355
|
+
CONSOLE LOG ENTRY: Finished plates mergePlates for 23 ms
|
|
357
356
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
358
357
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
359
358
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -362,7 +361,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
362
361
|
CONSOLE LOG ENTRY: Started plates category
|
|
363
362
|
CONSOLE LOG ENTRY: test false
|
|
364
363
|
CONSOLE LOG ENTRY: Started plates normalization
|
|
365
|
-
CONSOLE LOG ENTRY: Finished plates normalization for
|
|
364
|
+
CONSOLE LOG ENTRY: Finished plates normalization for 10 ms
|
|
366
365
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
367
366
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
368
367
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -393,7 +392,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
393
392
|
CONSOLE LOG ENTRY: Started plates category
|
|
394
393
|
CONSOLE LOG ENTRY: test false
|
|
395
394
|
CONSOLE LOG ENTRY: Started plates use case
|
|
396
|
-
CONSOLE LOG ENTRY: Finished plates use case for
|
|
395
|
+
CONSOLE LOG ENTRY: Finished plates use case for 14 ms
|
|
397
396
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
398
397
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
399
398
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -402,7 +401,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
402
401
|
CONSOLE LOG ENTRY: Started rendering category
|
|
403
402
|
CONSOLE LOG ENTRY: test false
|
|
404
403
|
CONSOLE LOG ENTRY: Started rendering rendering different fitChartData on canvas
|
|
405
|
-
CONSOLE LOG ENTRY: Finished rendering rendering different fitChartData on canvas for
|
|
404
|
+
CONSOLE LOG ENTRY: Finished rendering rendering different fitChartData on canvas for 12114 ms
|
|
406
405
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
407
406
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
408
407
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -412,8 +411,8 @@ CONSOLE LOG ENTRY: Started rendering category
|
|
|
412
411
|
CONSOLE LOG ENTRY: test false
|
|
413
412
|
CONSOLE LOG ENTRY: Started rendering rendering in grid
|
|
414
413
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/font/Roboto-Italic.woff2
|
|
415
|
-
CONSOLE LOG ENTRY: curves rendering took
|
|
416
|
-
CONSOLE LOG ENTRY: Finished rendering rendering in grid for
|
|
414
|
+
CONSOLE LOG ENTRY: curves rendering took 4876 ms
|
|
415
|
+
CONSOLE LOG ENTRY: Finished rendering rendering in grid for 6001 ms
|
|
417
416
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
418
417
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
419
418
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -422,7 +421,7 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
422
421
|
CONSOLE LOG ENTRY: Started rendering category
|
|
423
422
|
CONSOLE LOG ENTRY: test false
|
|
424
423
|
CONSOLE LOG ENTRY: Started rendering rendering same fitChartData on canvas
|
|
425
|
-
CONSOLE LOG ENTRY: Finished rendering rendering same fitChartData on canvas for
|
|
424
|
+
CONSOLE LOG ENTRY: Finished rendering rendering same fitChartData on canvas for 8251 ms
|
|
426
425
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
427
426
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
428
427
|
CONSOLE LOG ENTRY: --------------------
|
|
@@ -431,6 +430,6 @@ CONSOLE LOG ENTRY: JSHandle@object
|
|
|
431
430
|
CONSOLE LOG ENTRY: Started viewport category
|
|
432
431
|
CONSOLE LOG ENTRY: test false
|
|
433
432
|
CONSOLE LOG ENTRY: Started viewport viewportMethods
|
|
434
|
-
CONSOLE LOG ENTRY: Finished viewport viewportMethods for
|
|
433
|
+
CONSOLE LOG ENTRY: Finished viewport viewportMethods for 0 ms
|
|
435
434
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
|
436
435
|
CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=false
|
package/test-record-1.mp4
CHANGED
|
Binary file
|