Closed napakalas closed 1 year ago
This PR has broken things in mapmaker
, which assumes that connectivity_models()
returns just that -- a list of model URI such as ilxtr:NeuronAacar
and ilxtr:NeuronKblad
. Instead it is now returning a list of neuron path URIs (such as ilxtr:neuron-type-aacar-1
.
What about revertinf connectivity_models()
to how it was and add a new method, connectivity_paths()
, to return neuron path URIs? ilxtr:sparc-nlp/mmset1/3a
is a path URI so wouldn't be in the list of model URIs.
I agree with you, creating connectivity_paths()
method is a better solution. As you said, connectivity_models()
should be consistent to the one using scicrunch.
I'll create the function.
Mapknowledge 0.16.1 cannot retrive neuron type knowledge from NPO. The current call to
example/npo.py
returns:This is due to,
connectivity_models()
inNpoSparql
just returns a list of models such asilxtr:NeuronAacar
andilxtr:NeuronKblad
.Therefore
at https://github.com/AnatomicMaps/map-knowledge/blob/be8ab3ae4cf315414d08bdb8214674e38ca05c3f/mapknowledge/__init__.py#L236C16-L236C17) is not loading all available neuron connectivities in NPO.
In this pull request,
connectivity_models()
inNpoSparql
is modified.