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

InputParameters applyParameter should error if no parameter fit #27556

Open
GiudGiud opened this issue May 6, 2024 · 0 comments
Open

InputParameters applyParameter should error if no parameter fit #27556

GiudGiud opened this issue May 6, 2024 · 0 comments
Labels
C: Framework P: minor A defect that does not affect the accuracy of results. T: defect An anomaly, which is anything that deviates from expectations.

Comments

@GiudGiud
Copy link
Contributor

GiudGiud commented May 6, 2024

Bug Description

While coding physics I m moving a fair amount of parameters from one object to another.
There is no reason to use applyParameter if none of the parameters are relevant. it should error, telling the developer that the call was either useless or worse, not working as expected

Steps to Reproduce

Use applyparam in an action, with none of the action parameters matching an object's (created by the action)

Impact

Easier development

[Optional] Diagnostics

No response

@GiudGiud GiudGiud added P: minor A defect that does not affect the accuracy of results. T: defect An anomaly, which is anything that deviates from expectations. labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: minor A defect that does not affect the accuracy of results. T: defect An anomaly, which is anything that deviates from expectations.
Projects
None yet
Development

No branches or pull requests

2 participants