@platforma-open/milaboratories.top-antibodies 4.3.2 → 4.3.4

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.
@@ -3,6 +3,6 @@
3
3
  "id": {
4
4
  "organization": "milaboratories",
5
5
  "name": "top-antibodies",
6
- "version": "4.3.2"
6
+ "version": "4.3.4"
7
7
  }
8
8
  }
package/block-pack/ui.tgz CHANGED
Binary file
package/dist/index.js CHANGED
@@ -13809,6 +13809,13 @@ function isProducedByLeadSelection(spec) {
13809
13809
  const trace = readAnnotationJson(spec, Annotation.Trace);
13810
13810
  return Array.isArray(trace) && trace.length > 0 && trace[trace.length - 1]?.type === LEAD_SELECTION_TRACE_TYPE;
13811
13811
  }
13812
+ /** Repertoire-labeling emits one such column per label. `PColumnName` has no entry for it. */
13813
+ const LABELING_TAG_COLUMN_NAME = "pl7.app/tag";
13814
+ /** `pl7.app/isSubset` marks both a dataset restriction and a presence-only column. A labeling
13815
+ * tag is only the second, so the dataset picker must not offer it. */
13816
+ function isDatasetScopingSubset(spec) {
13817
+ return isPColumnSpec(spec) && spec.name !== LABELING_TAG_COLUMN_NAME;
13818
+ }
13812
13819
  /**
13813
13820
  * True when a column carries no readable value. Presence is the whole signal.
13814
13821
  *
@@ -14604,14 +14611,17 @@ const platforma$1 = BlockModelV3.create({
14604
14611
  diversificationColumn: data.diversificationColumn
14605
14612
  };
14606
14613
  }).output("datasetOptions", (ctx) => {
14607
- const opts = buildDatasetOptions(ctx, { primary: (spec) => {
14608
- if (!isPColumnSpec(spec)) return false;
14609
- if (spec.annotations?.[Annotation.IsAnchor] !== "true") return false;
14610
- if (spec.axesSpec.length < 2) return false;
14611
- if (spec.axesSpec[0]?.name !== "pl7.app/sampleId") return false;
14612
- const rowAxis = spec.axesSpec[1]?.name;
14613
- return rowAxis === "pl7.app/vdj/clonotypeKey" || rowAxis === "pl7.app/vdj/scClonotypeKey" || rowAxis === "pl7.app/variantKey";
14614
- } });
14614
+ const opts = buildDatasetOptions(ctx, {
14615
+ primary: (spec) => {
14616
+ if (!isPColumnSpec(spec)) return false;
14617
+ if (spec.annotations?.[Annotation.IsAnchor] !== "true") return false;
14618
+ if (spec.axesSpec.length < 2) return false;
14619
+ if (spec.axesSpec[0]?.name !== "pl7.app/sampleId") return false;
14620
+ const rowAxis = spec.axesSpec[1]?.name;
14621
+ return rowAxis === "pl7.app/vdj/clonotypeKey" || rowAxis === "pl7.app/vdj/scClonotypeKey" || rowAxis === "pl7.app/variantKey";
14622
+ },
14623
+ filter: isDatasetScopingSubset
14624
+ });
14615
14625
  if (!opts) return opts;
14616
14626
  const selfBlockId = ctx.outputs?.resolve({
14617
14627
  field: "selfBlockId",