Skip to content

Fix empty licence column in ListAllAvailableImages (get_instances)#52

Merged
Robbie1977 merged 1 commit into
mainfrom
fix/get-instances-license-edge
Jun 25, 2026
Merged

Fix empty licence column in ListAllAvailableImages (get_instances)#52
Robbie1977 merged 1 commit into
mainfrom
fix/get-instances-license-edge

Conversation

@Robbie1977

Copy link
Copy Markdown
Contributor

get_instances matched the dataset licence edge as [:license|licence], but the canonical relationship in the VFB Neo4j graph is has_license. Most DataSets (e.g. Hemibrain Xu2020NeuronsV1.2.1, FAFB Turner_Evans2020) use has_license, so lic bound null and the
REPLACE(..., 'null', '') collapsed the column to an empty string; the British-spelt licence alternate matched nothing.

Align with the other two image/dataset queries in this file (get_all_aligned_images, the dataset query) and vfb_connect's TermInfo, all of which use [:has_license|license].

get_instances matched the dataset licence edge as [:license|licence],
but the canonical relationship in the VFB Neo4j graph is has_license.
Most DataSets (e.g. Hemibrain Xu2020NeuronsV1.2.1, FAFB Turner_Evans2020)
use has_license, so lic bound null and the
REPLACE(..., '[null](null)', '') collapsed the column to an empty
string; the British-spelt licence alternate matched nothing.

Align with the other two image/dataset queries in this file
(get_all_aligned_images, the dataset query) and vfb_connect's TermInfo,
all of which use [:has_license|license].
@Robbie1977 Robbie1977 merged commit b3c463e into main Jun 25, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant