Skip to content

Commit 032ad61

Browse files
authored
Merge pull request #7 from platforma-open/mzueva/update-input-selector
Simplify input data selector
2 parents 86065fc + 0d47058 commit 032ad61

5 files changed

Lines changed: 318 additions & 701 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@platforma-open/milaboratories.3d-structure-based-liabilities.workflow': patch
3+
'@platforma-open/milaboratories.3d-structure-based-liabilities.model': patch
4+
'@platforma-open/milaboratories.3d-structure-based-liabilities.software': patch
5+
'@platforma-open/milaboratories.3d-structure-based-liabilities.ui': patch
6+
'@platforma-open/milaboratories.3d-structure-based-liabilities': patch
7+
---
8+
9+
Select the 3D structures dataset directly. The upstream 3D Structure Prediction block now exports a confident-only PDB map, so there is no subset to choose: the `PlDatasetSelector` picks the PDB dataset directly and the model no longer attaches subset filters (which had begun surfacing unrelated upstream subsets such as Lead Selection's). The optional `--clonotype-filter` sidecar is no longer passed; the block analyses every structure in the (already confident) input map.

model/src/index.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,11 @@ export const platforma = BlockModelV3.create(dataModel)
129129
isPColumnSpec(spec) &&
130130
spec.name === "pl7.app/structure/pdb" &&
131131
spec.annotations?.["pl7.app/isAnchor"] === "true",
132-
filter: (spec: PObjectSpec): boolean =>
133-
isPColumnSpec(spec) &&
134-
(spec.name === "pl7.app/structure/predictionSuccessful" ||
135-
spec.name === "pl7.app/structure/confident"),
132+
// No subset filter: the PDB map is already confident-only, so the dataset
133+
// is picked directly. `() => false` is required — omitting `filter`
134+
// defaults to accept-all, which would attach unrelated `isSubset` columns
135+
// on the clonotype axis (e.g. Lead Selection's subsets).
136+
filter: () => false,
136137
}),
137138
)
138139
// Dataset-level mode, consumed by the mode-specific histogram page and the

0 commit comments

Comments
 (0)