You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For flexible use of g2s() in functions etc. it would be handy if you could pass None to the optional parameters (mostly -ki), which is currently not supported. I'm sure there are multiple workarounds to achieve this yourself but being able to pass None would save some effort.
The text was updated successfully, but these errors were encountered:
The idea of allowing None to be passed to optional parameters in g2s() for flexible use in functions is certainly a good one. This would for sure make it easier for users to write functions and scripts that make use of the g2s() function.
However, it is important to consider how this change would affect the compatibility of g2s() with other languages, such as MATLAB and R. Both of these languages have different conventions for handling missing or optional function arguments.
For flexible use of g2s() in functions etc. it would be handy if you could pass None to the optional parameters (mostly -ki), which is currently not supported. I'm sure there are multiple workarounds to achieve this yourself but being able to pass None would save some effort.
The text was updated successfully, but these errors were encountered: