@platforma-open/milaboratories.sort-seq-analysis.block 1.0.2 → 1.0.3

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/dist/index.d.ts CHANGED
@@ -7165,10 +7165,15 @@ type BlockArgs = {
7165
7165
  conditionColumnRef: SUniversalPColumnId; /** 3. A per-sample metadata column, picked for the other role. */
7166
7166
  gateColumnRef: SUniversalPColumnId;
7167
7167
  /**
7168
- * 4. A rank per distinct value of the gate column, along the binding axis.
7168
+ * 4. A rank per **selected** gate, along the binding axis. Ranks are contiguous from 1.
7169
7169
  *
7170
7170
  * Derived from `BlockData.gateOrder` by position — the workflow and the computation want a
7171
7171
  * value → rank map, the user wants to drag a list.
7172
+ *
7173
+ * The key set doubles as the run's gate scope: a value of the gate column absent from this
7174
+ * map is not a rung on the ladder, and its samples take no part in the run. A gate column
7175
+ * that also names an unsorted input or a specificity arm is the ordinary case, not an
7176
+ * incomplete configuration.
7172
7177
  */
7173
7178
  gateRanks: Record<string, number>; /** 5. Absent (empty) means every distinct value of the condition column is a condition. */
7174
7179
  excludedConditions: string[]; /** 6. Absent means **no floor is applied** — not a floor of zero, and not a guess. */
@@ -7184,11 +7189,15 @@ type BlockData$1 = {
7184
7189
  conditionColumnRef?: SUniversalPColumnId;
7185
7190
  gateColumnRef?: SUniversalPColumnId;
7186
7191
  /**
7187
- * The gate values in declared order, weakest binder first.
7192
+ * The selected gates in declared order, weakest binder first.
7188
7193
  *
7189
7194
  * A list rather than a value → rank map because the control is drag-to-reorder and position
7190
7195
  * *is* the rank, which makes a duplicated rank and a rank naming an absent value
7191
7196
  * unrepresentable rather than merely refused.
7197
+ *
7198
+ * Seeded with every value the gate column carries when the column is picked, and then
7199
+ * **narrowed by the user**: removing a gate takes it out of the run. It need not cover
7200
+ * `gateValues`, only be non-empty and name nothing outside it.
7192
7201
  */
7193
7202
  gateOrder: string[];
7194
7203
  excludedConditions: string[]; /** `undefined` applies no floor at all, and is the normal first run. */