Replies: 1 comment 2 replies
-
In this case, it's set to I hope (though am not sure — also finding it daunting to determine whether) this logic is universal for keyword (i.e. boolean) variables. Another gripe. With
but
We have this sort of thing prominently in mind as we prototype v4. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In many flopy classes, many keyword arguments are set to None. If they are not set by the user, I presume there is some behind-the-scene code that sets these parameters. I find it unclear what is set or how to find out what is set, so it is difficult to decide whether a keyword argument should be specified.
Simple example (but there are thousands):
In
mf6.modflow.ModflowGwfwel
one of the input arguments isprint_input=None
. Which I presume is a boolean. Now if I don't specify this parameter, what happens? Is it set toTrue
orFalse
?Beta Was this translation helpful? Give feedback.
All reactions