-
Notifications
You must be signed in to change notification settings - Fork 229
Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'mincols' instead (will be removed in v0.20.0) #3369
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
Conversation
f1e6aca
to
9e78da0
Compare
2a1db22
to
b33476c
Compare
bca59f5
to
808755d
Compare
d7ca533
to
feddd9c
Compare
feddd9c
to
2d55e5a
Compare
pygmt/helpers/utils.py
Outdated
@@ -115,6 +115,7 @@ def _validate_data_input( | |||
GMTInvalidInput | |||
If the data input is not valid. | |||
""" | |||
required_z = ncols >= 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a temporary fix. Will refactor _validate_data_input
in #3818.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debating on whether to call the parameter mincols
instead of ncols
, but leave it up to you to decide.
Related to #3836.
This PR removes the
required_z
parameter and add a new parametermincols
.required_z=True
meansmincols=3
.