-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
gunittest: update module interface doctest #1699
Conversation
adapts documentation to the addition of 'weighting_function' parameter to 'r.neighbors' introduced with OSGeo@20f370c
Thanks @nilason for catching this. What is surprising is that weighting_function is not a required option: grass/raster/r.neighbors/main.c Line 226 in 3293018
There seems to be a simmilar issue here: |
I don't know the code behind the tests well enough yet, but I note grass/raster/r.neighbors/main.c Line 208 in 3293018
is neither required, yet present. |
However both |
Right. I overlooked that the tests checks the constructed bash command... Makes sense. |
Handling of "not required" with default value is strange, but that's all I can say about it. |
At first glance, yes, but remember "required" is meant for parameter(s) required for the user's command. I'd say a required parameter with a default would be strange. |
adapts documentation to the addition of 'weighting_function' parameter to 'r.neighbors' introduced with OSGeo@20f370c
adapts documentation to the addition of 'weighting_function' parameter to 'r.neighbors' introduced with OSGeo@20f370c
Adapts documentation to the addition of 'weighting_function' parameter to 'r.neighbors' introduced with 20f370c (#597).
Unit tests fails with errors like: