NeuroML / pyNeuroML

A single package in Python unifying scripts and modules for reading, writing, simulating and analysing NeuroML2/LEMS models.
https://docs.neuroml.org/Userdocs/Software/pyNeuroML.html
GNU Lesser General Public License v3.0
36 stars 30 forks source link

Would it be useful to add functionality to search neuromldb in `pynml`? #129

Closed sanjayankur31 closed 2 years ago

sanjayankur31 commented 2 years ago

Is your feature request related to a problem? Please describe. When starting a new NeuroML project, it'll be useful to be able to quickly check is some related models exist on neuroml-db. For example, if I want to start model with cerebellar golgi cells, it'll be useful for me to go something like pynml -searchdb "golgi cells", to get a list of models, and maybe then be able to select and download a model (or get a direct link to neuromldb)?

neuroml-db has an API so this isn't too hard to implement. We could even just open the user's default browser to the search page on neuroml-db with the query like: https://neuroml-db.org/search_model?q=golgi%20cell

Describe the solution you'd like This can already be done using the neuroml-db web interface, but since we're trying to get people to stick to pynml as much as possible, this may be a useful feature to have.

Additional context This will strengthen the pynml feature set related to reusing and creating models, and it'll link neuroml-db more strongly with our tools?