Skip to content

BREAKING: Raise GMTParameterError exception for as_most_one parameters. Previously raise GMTInvalidInput. Part 2#4388

Merged
seisman merged 14 commits intoGenericMappingTools:mainfrom
Chuan1937:add_most_one
Feb 4, 2026
Merged

BREAKING: Raise GMTParameterError exception for as_most_one parameters. Previously raise GMTInvalidInput. Part 2#4388
seisman merged 14 commits intoGenericMappingTools:mainfrom
Chuan1937:add_most_one

Conversation

@Chuan1937
Copy link
Contributor

@Chuan1937 Chuan1937 commented Feb 4, 2026

update text,project,decorators with "at_most_one"

pygmt/src/project.py:231:        raise GMTInvalidInput(msg)    
pygmt/src/text.py:195:        raise GMTInvalidInput(msg)    
pygmt/src/text.py:213:        raise GMTInvalidInput(msg)    
pygmt/helpers/decorators.py:557:                    raise GMTInvalidInput(msg)    

Patches #4383

Chuan1937 and others added 5 commits February 4, 2026 12:57
@Chuan1937 Chuan1937 requested a review from seisman February 4, 2026 05:14
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Chuan1937 and others added 3 commits February 4, 2026 14:25
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
@Chuan1937 Chuan1937 requested a review from seisman February 4, 2026 06:36
@seisman seisman changed the title update text,project,decorators with "at_most_one" BREAKING: Raise GMTParameterError exception for as_most_one parameters. Previously raise GMTInvalidInput. Part 2 Feb 4, 2026
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog and removed skip-changelog Skip adding Pull Request to changelog labels Feb 4, 2026
@seisman seisman added this to the 0.19.0 milestone Feb 4, 2026
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
@Chuan1937 Chuan1937 requested a review from seisman February 4, 2026 08:25
@Chuan1937 Chuan1937 requested a review from seisman February 4, 2026 08:42
@seisman seisman merged commit 9380f5a into GenericMappingTools:main Feb 4, 2026
16 of 20 checks passed
@Chuan1937 Chuan1937 deleted the add_most_one branch February 4, 2026 09:08
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants