Commit 69634a2
committed
TransgeneExpressionHere: emit Expressed_in as [label](id) markdown
Reverts the `label----id` cell payload that v1.14.3 / v1.14.4 used
and lands on the standard `[label](id)` markdown convention
(same shape name / parent / template / dataset already use, e.g.
ListAllAvailableImages returning
parent: '[medulla](FBbt_00003748)'
).
Click-target wiring stays out of VFBquery. The Java
VFBqueryJsonProcessor (companion v2.2.4.14 release) extracts the
`(id)` half from each clickable column's markdown and builds the
row's id column with the same `----` delimiter SOLRQueryProcessor
uses (e.g.
upstream_class_id + delim + downstream_class_id
or
cluster.short_form + delim + term.short_form + delim + pubs[0]
+ delim + dataset.short_form
).
Griddle then reads click targets via
path.split(entityDelimiter)[entityIndex]
where entityIndex per visible column is declared in
queryBuilderConfiguration.js (name=0, expressed_in=1, reference=2,
dataset=3, ...).
VFBquery stays delimiter-agnostic — only lists and `[label](id)`
markdown go over the wire, same as every other clickable column
already does today.
Cypher change: the alphabetically-first leaf anat within the
Owlery closure is now emitted as
apoc.coll.sort(collect(DISTINCT
apoc.text.format("[%s](%s)",
[anat.label, anat.short_form])))[0]
AS expressed_in
and `id` stays as plain `ep.short_form` — the Java processor will
pack it together with anat.short_form (and any other per-column
ids) when it builds the row.
Verified locally against pdb on pacemaker neuron (FBbt_00006048):
P{GAL4-per.BS} -> '[pacemaker neuron](FBbt_00006048)'
P{GAL4-tim.E} -> '[pacemaker neuron](FBbt_00006048)'
P{GSV6}GS10340 -> '[pacemaker neuron](FBbt_00006048)'
P{cry-GAL4.E} -> '[pacemaker neuron](FBbt_00006048)'
Patch bump 1.14.4 -> 1.14.5. Wire shape change implicitly
invalidates stale @with_solr_cache buckets carrying the v1.14.3 /
v1.14.4 `label----id` payloads.1 parent ae006ce commit 69634a2
2 files changed
Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5424 | 5424 | | |
5425 | 5425 | | |
5426 | 5426 | | |
5427 | | - | |
5428 | | - | |
5429 | | - | |
5430 | | - | |
5431 | | - | |
5432 | | - | |
5433 | | - | |
5434 | | - | |
5435 | | - | |
| 5427 | + | |
| 5428 | + | |
| 5429 | + | |
| 5430 | + | |
| 5431 | + | |
| 5432 | + | |
| 5433 | + | |
| 5434 | + | |
| 5435 | + | |
| 5436 | + | |
5436 | 5437 | | |
5437 | 5438 | | |
5438 | 5439 | | |
| |||
5474 | 5475 | | |
5475 | 5476 | | |
5476 | 5477 | | |
5477 | | - | |
| 5478 | + | |
| 5479 | + | |
| 5480 | + | |
| 5481 | + | |
| 5482 | + | |
| 5483 | + | |
5478 | 5484 | | |
5479 | 5485 | | |
5480 | 5486 | | |
| |||
5513 | 5519 | | |
5514 | 5520 | | |
5515 | 5521 | | |
5516 | | - | |
| 5522 | + | |
5517 | 5523 | | |
5518 | 5524 | | |
5519 | 5525 | | |
| |||
0 commit comments