Skip to content

Feat: add method to list parameters of a component object #208

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

Merged
merged 6 commits into from
May 28, 2025

Conversation

sanjayankur31
Copy link
Contributor

Adds a get_parameters function to each nml component type class to get the parameters of the component. We don't use LEMS here, we simply look for any members that have a NeuroMLQuantity... type.

Once this is merged, we'll add a get_model_parameters utility function to pyNeuroML that users can use to get info on the main bits of a model, eg: cells, synapses, inputs, and so on.

@sanjayankur31 sanjayankur31 added T: enhancement Type: enhancement S: ready for review ready for review labels May 24, 2025
@sanjayankur31 sanjayankur31 changed the title Feat list params Feat: add method to list parameters of a component object May 24, 2025
@sanjayankur31 sanjayankur31 merged commit af77e5f into development May 28, 2025
22 checks passed
@sanjayankur31 sanjayankur31 deleted the feat-list-params branch May 28, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: ready for review ready for review T: enhancement Type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant