-
Notifications
You must be signed in to change notification settings - Fork 58
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
InterpolatedVolumeParameter documentation is confusing #889
Comments
pywr/pywr/parameters/parameters.py Line 118 in e7b4e35
Just rename Same issue here: pywr/pywr/parameters/parameters.py Line 140 in e7b4e35
|
Not sure what I was looking at when I thought the classes didn't have init funcs. I've update the arg names and docstrings in #890 It looks like neither parameter is tested directly though they are used in other tests? Also it is not possible to set any of the |
I think it would be better to have |
That is a better way of doing it. Might have to account for the |
#890 solved the main issue here. Shall we keep this open for the |
The API documentation shows this:
However if you defined the parameter in json you have to use
volumes
andvalues
instead ofx
andy
as the argument keys.InterpolatedFlowParameter
has the same issueEasiest solution would be to add an
__init__
function with correct arg names that just supers the parent classThe text was updated successfully, but these errors were encountered: