GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BREAKING: Raise GMTParameterError exception for as_most_one parameters. Previously raise GMTInvalidInput. Part 2 by Chuan1937 · Pull Request #4388 · GenericMappingTools/pygmt

Conversation

@Chuan1937

@Chuan1937 Chuan1937 commented Feb 4, 2026 •
edited by seisman
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Chuan1937 added 2 commits February 4, 2026 12:32
@Chuan1937
update text,project,decorators with "at_most_one"
635ffa4
@Chuan1937
update test file
267c76b
seisman
seisman reviewed Feb 4, 2026
View reviewed changes
Comment thread pygmt/tests/test_text.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pygmt/src/text.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pygmt/helpers/decorators.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Xingchen He and others added 5 commits February 4, 2026 12:57
Xingchen He @seisman
Update pygmt/src/text.py
5e1ecad
Co-authored-by: Dongdong Tian <[email protected]>
Xingchen He @seisman
Update pygmt/helpers/decorators.py
3026172
Co-authored-by: Dongdong Tian <[email protected]>
@Chuan1937
update test file for text
20e3366
@Chuan1937
Merge branch 'add_most_one' of github.com:Chuan1937/pygmt into add_mo…
1f7c30b
…st_one
@Chuan1937
fix check
893c3d4
seisman
seisman reviewed Feb 4, 2026
View reviewed changes
Comment thread pygmt/helpers/decorators.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@Chuan1937
revert decorators and test file
1663a02
@Chuan1937
Chuan1937 requested a review from seisman February 4, 2026 05:14
seisman
seisman reviewed Feb 4, 2026
View reviewed changes
Comment thread pygmt/helpers/decorators.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Xingchen He @seisman
Update pygmt/helpers/decorators.py
a039164
Co-authored-by: Dongdong Tian <[email protected]>
seisman
seisman reviewed Feb 4, 2026
View reviewed changes
Comment thread pygmt/helpers/decorators.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

seisman
seisman reviewed Feb 4, 2026
View reviewed changes
Comment thread pygmt/helpers/decorators.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Xingchen He and others added 3 commits February 4, 2026 14:25
Xingchen He @seisman
Update pygmt/helpers/decorators.py
615e294
Co-authored-by: Dongdong Tian <[email protected]>
Xingchen He @seisman
Update pygmt/helpers/decorators.py
8457e90
Co-authored-by: Dongdong Tian <[email protected]>
@Chuan1937
fix check
66efa54
@Chuan1937
Chuan1937 requested a review from seisman February 4, 2026 06:36
seisman
seisman reviewed Feb 4, 2026
View reviewed changes
Comment thread pygmt/helpers/decorators.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@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
Xingchen He @seisman
Update pygmt/helpers/decorators.py
0daee25
Co-authored-by: Dongdong Tian <[email protected]>
@Chuan1937
Chuan1937 requested a review from seisman February 4, 2026 08:25
seisman
seisman reviewed Feb 4, 2026
View reviewed changes
Comment thread pygmt/helpers/decorators.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@seisman
Update pygmt/helpers/decorators.py
d8de0b3
@Chuan1937
Chuan1937 requested a review from seisman February 4, 2026 08:42
@seisman
seisman merged commit 9380f5a into GenericMappingTools:main Feb 4, 2026
15 of 18 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@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

Reviewers

@seisman seisman Awaiting requested review from seisman

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Milestone

0.19.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Chuan1937 @seisman
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.