Skip to content

Conversation

@ipelupessy
Copy link
Member

retrieving the parameter object by name through [] and define the name,
value and description properties

this allows

for p in code.parameters:
  print(p,p.value, p.description)

p=code.parameters["some_name"]
print(p.value)

retrieving the parameter object by name through [] and define the name,
value and description properties
@ipelupessy ipelupessy requested a review from rieder August 10, 2021 14:40
Copy link
Member

@rieder rieder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be quite useful!
Ok to merge for me (I guess you've tested that it works?)

@ipelupessy ipelupessy merged commit a034f96 into amusecode:main Dec 4, 2021
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.

2 participants