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

Throw an error (or at least a warning) when you try to set a value for a stock using params #80

Closed
JamesPHoughton opened this issue Jul 12, 2016 · 1 comment

Comments

@JamesPHoughton
Copy link
Collaborator

There are cases where you may want to actually replace a stock with a new function, but most of the time you actually want to initialize the stock.

JoonaTuovinen added a commit to JoonaTuovinen/pysd that referenced this issue Aug 27, 2016
Added warning to set_components when used with stocks
(just warning because it is actually a good way to analyse models by overriding stock values to constants)
Added test_set_component_warnings
Moved the test_py_model_file and test_mdl_file under class TestPySD
@JamesPHoughton
Copy link
Collaborator Author

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant