Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add utility function to enumerate all model parameters #433

Open
sanjayankur31 opened this issue Oct 24, 2024 · 4 comments
Open

Add utility function to enumerate all model parameters #433

sanjayankur31 opened this issue Oct 24, 2024 · 4 comments
Assignees
Labels
good first issue A good issue for newcomers to work on Help wanted T: enhancement Type: enhancement

Comments

@sanjayankur31
Copy link
Member

Something like pynml-listparams <nml file> should list all the parameters in the ComponentType definition.

Related: pynml-showmetadata: should print out any metadata that has been included in rdf annotations.

@sanjayankur31 sanjayankur31 added T: enhancement Type: enhancement Help wanted good first issue A good issue for newcomers to work on labels Oct 24, 2024
@sanjayankur31 sanjayankur31 moved this from 🆕 New to 🔖 Ready in NeuroML backlog Oct 24, 2024
@samkitshah1262
Copy link

Hi @sanjayankur31 , I'd like to work on this.

@sanjayankur31
Copy link
Member Author

Hi @samkitshah1262 , sure! I'll assign this to you.

The general idea would be to load a file into a NeuroMLDocument object, iterate over the objects contained in it, get their members (using the info method, for example), and then to print these out nicely in a readable form.

https://libneuroml.readthedocs.io/en/latest/userdocs/Other_list.html#neuroml.nml.generatedssupersuper.GeneratedsSuperSuper.info (this is inherited by all component type classes)

@sanjayankur31 sanjayankur31 moved this from 🔖 Ready to 🏗 In progress in NeuroML backlog Nov 28, 2024
@Daman2461
Copy link

Hello sir, Is this issue still open? If so, I would like to work on this.

@samkitshah1262
Copy link

Hi @Daman2461, I am working on this issue, couldn't work on it last month due to holidays so might look stale. Could you please pick another. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue A good issue for newcomers to work on Help wanted T: enhancement Type: enhancement
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants