Skip to content

Conversation

@bd-j
Copy link
Collaborator

@bd-j bd-j commented Aug 16, 2022

This moves the parameter validity check from the parameter value setter to the place where the parameters are actually passed to the fortran driver (StellarPopulation._update_parameters()). This gives less instant feedback if you give an invalid parameter, but should solve the issue in #183

Also added a test, with a clunky way to check that an assertion error is raised appropriately without completely rewriting the test infrastructure.

@bd-j bd-j merged commit 756762d into dfm:main Aug 16, 2022
@bd-j bd-j deleted the parupdate branch August 16, 2022 19:55
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.

1 participant