diff --git a/.changeset/four-planes-walk.md b/.changeset/four-planes-walk.md new file mode 100644 index 0000000..540ac0a --- /dev/null +++ b/.changeset/four-planes-walk.md @@ -0,0 +1,5 @@ +--- +"@platforma-open/milaboratories.rarefaction.model": patch +--- + +Switch to retentive outputs diff --git a/model/src/index.ts b/model/src/index.ts index 9f83aad..c89ec8e 100644 --- a/model/src/index.ts +++ b/model/src/index.ts @@ -76,7 +76,7 @@ export const model = BlockModel.create() /************************* * OUTPUTS * *************************/ - .outputWithStatus('graphPFrame', (ctx) => { + .retentiveOutputWithStatus('graphPFrame', (ctx) => { const pCols = ctx.outputs?.resolve('rarefactionPFrame')?.getPColumns(); if (pCols === undefined) { return undefined; @@ -86,7 +86,7 @@ export const model = BlockModel.create() .output('rarefactionPFrameCols', (ctx) => { return ctx.outputs?.resolve('rarefactionPFrame')?.getPColumns()?.map((p) => p.spec); }) - .outputWithStatus('table', (ctx) => { + .retentiveOutputWithStatus('table', (ctx) => { const cols = ctx.outputs?.resolve('rarefactionPFrame')?.getPColumns(); if (cols === undefined) { return undefined;