@platforma-open/milaboratories.sequence-properties.model 1.2.1 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.sequence-properties.model",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Block model",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -8,6 +8,7 @@ import {
8
8
  Annotation,
9
9
  ArrayColumnProvider,
10
10
  BlockModelV3,
11
+ createPFrameForGraphs,
11
12
  createPlDataTableV3,
12
13
  } from "@platforma-sdk/model";
13
14
  import { blockDataModel } from "./dataModel";
@@ -135,7 +136,9 @@ export const platforma = BlockModelV3.create(blockDataModel)
135
136
  match: (spec) =>
136
137
  !spec.annotations?.[Annotation.Trace]?.includes(
137
138
  "milaboratories.sequence-properties",
138
- ) && spec.annotations?.["pl7.app/isLinkerColumn"] !== "true",
139
+ ) &&
140
+ spec.annotations?.["pl7.app/isLinkerColumn"] !== "true" &&
141
+ spec.annotations?.["pl7.app/isOutput"] !== "true",
139
142
  visibility: "optional",
140
143
  },
141
144
  ],
@@ -178,7 +181,7 @@ export const platforma = BlockModelV3.create(blockDataModel)
178
181
  ),
179
182
  )
180
183
  : [];
181
- return ctx.createPFrame([...pCols, ...upstreamMeta]);
184
+ return createPFrameForGraphs(ctx, [...pCols, ...upstreamMeta]);
182
185
  })
183
186
  .output("propertiesPfCols", (ctx): PColumnIdAndSpec[] | undefined => {
184
187
  const pCols = ctx.outputs?.resolve("propertiesPf")?.getPColumns();