You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImagesNeurons et al call _owlery_query_to_results with
solr_field=anat_image_query and query_instances=True. That SOLR field
uses a flat top-level
channel_image: [{image, channel, imaging_technique}]
with no anatomy_channel_image wrapper, while class queries (anat_query)
nest as
anatomy_channel_image: [{anatomy, channel_image: {...}}]
The v1.12.0 image-extractor only handled the class shape, so every
instance-routed owlery query returned empty Template_Space /
Imaging_Technique / Images on the live API even though the SOLR doc
carries all three. Confirmed by curl'ing
solr/vfb_json/select?q=id:VFB_fw075305&fl=anat_image_query
— top-level keys are ['term','query','version','channel_image','parents'],
channel_image[0] keys are ['image','channel','imaging_technique'].
Normalise both shapes to a single `channel_image` dict before extracting
template / technique / thumbnail. For the instance case fall back to the
row's own label_text for the thumbnail alt (no outer anatomy field).
0 commit comments