Commit 9e56149
committed
get_individual_neuron_inputs: dedupe the thumbnail carousel + datasets
The Images/Template_Space collects had no DISTINCT, so the cross-product with
INSTANCEOF types / imaging techniques repeated each alignment's thumbnail (e.g.
2 templates -> 6 thumbnails, 1 -> 3). Use collect(DISTINCT ...) so it is one
thumbnail per template, and align the thumbnail markdown with the other query
functions (template,imageId ref + 'aligned to' alt + '; ' separator) so the
frontend reorders by the loaded template. Validated against pdb (nThumbs ==
nTemplates per neuron).1 parent 327f0d1 commit 9e56149
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3042 | 3042 | | |
3043 | 3043 | | |
3044 | 3044 | | |
3045 | | - | |
| 3045 | + | |
3046 | 3046 | | |
3047 | | - | |
| 3047 | + | |
3048 | 3048 | | |
3049 | 3049 | | |
3050 | 3050 | | |
| |||
0 commit comments