GeezerVison is showing github.com — Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'mincols' instead (will be removed in v0.20.0) by seisman · Pull Request #3369 · GenericMappingTools/pygmt
Conversation
seisman
commented
Aug 4, 2024
•
edited by weiji14
Loading
Uh oh!
There was an error while loading. Please reload this page.
Related to #3836.
This PR removes the required_z parameter and add a new parameter mincols. required_z=True means mincols=3.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
seisman
changed the title
Session.virtualfile_in: Remove the extra_arrays parameter
Refactor Session.virtualfile_in, removing 'extra_arrays'/'required_z' and add 'required_cols'
Aug 4, 2024
seisman
changed the title
Refactor Session.virtualfile_in, removing 'extra_arrays'/'required_z' and add 'required_cols'
Session.virtualfile_in: Remove parameter 'required_z' and add 'ncols'
Mar 5, 2025
|
|
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
seisman
changed the title
Session.virtualfile_in: Remove parameter 'required_z' and add 'ncols'
Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'ncols' instead (will be removed in v0.20.0)
Mar 26, 2025
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
seisman
changed the title
Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'ncols' instead (will be removed in v0.20.0)
Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'mincols' instead (will be removed in v0.20.0)
Apr 28, 2025
Reviewers
weiji14
weiji14 approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|