From 821a54bbb34cfd9c2513ff571dd3c7bfcd5d784e Mon Sep 17 00:00:00 2001 From: Dmitry Bolotin Date: Wed, 27 Nov 2024 23:11:14 +0200 Subject: [PATCH] test fixes --- model/src/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/model/src/index.ts b/model/src/index.ts index 6849db6..63340b2 100644 --- a/model/src/index.ts +++ b/model/src/index.ts @@ -65,13 +65,13 @@ export const platforma = BlockModel.create('Heavy') : undefined; }) - // .output('clones', (ctx) => { - // const collection = ctx.outputs?.resolve('clones')?.parsePObjectCollection(); - // if (collection === undefined) return undefined; - // // if (collection === undefined || !collection.isComplete) return undefined; - // const pColumns = Object.values(collection).filter(isPColumn); - // return ctx.createPFrame(pColumns); - // }) + .output('clones', (ctx) => { + const collection = ctx.outputs?.resolve('clones')?.parsePObjectCollection(); + if (collection === undefined) return undefined; + // if (collection === undefined || !collection.isComplete) return undefined; + const pColumns = Object.values(collection).filter(isPColumn); + return ctx.createPFrame(pColumns); + }) .retentiveOutput('inputOptions', (ctx) => { return ctx.resultPool.getOptions((v) => {