Skip to content

Change an error message from a tuple to a string in grdclip.py#4333

Merged
seisman merged 1 commit intoGenericMappingTools:mainfrom
willschlitzer:grdclip-error-msg-string
Jan 11, 2026
Merged

Change an error message from a tuple to a string in grdclip.py#4333
seisman merged 1 commit intoGenericMappingTools:mainfrom
willschlitzer:grdclip-error-msg-string

Conversation

@willschlitzer
Copy link
Contributor

The msg variable in grdclip.py used error message when raising GMTInvalidInput is a tuple. This changes it to be a multi-line string, while still in accordance with PEP 8 line length requirements.

The msg variable in grdclip.py that was an error message when raising GMTInvalidInput was a tuple. This changes it to be string, while still in accordance with PEP 8.
@seisman seisman added this to the 0.18.0 milestone Jan 11, 2026
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog labels Jan 11, 2026
@seisman seisman merged commit f78251d into GenericMappingTools:main Jan 11, 2026
22 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants