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 — Session.call_module: Support passing a list of argument strings by seisman · Pull Request #3139 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Mar 26, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Description of proposed changes

See #3132 for context. This PR enhances the Session.call_module() method to support passing a list of argument strings to the GMT_Call_Module API function.

PR #3132 contains changes that should be made after this PR is merged.

Sorry, something went wrong.

Uh oh!

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

All reactions
seisman added 2 commits March 26, 2024 11:16
@seisman
Session.call_module: Support passing a list of argument strings
b8db7f4
@seisman
Add more tests for Session.call_module
07ccde4
@seisman seisman added enhancement Improving an existing feature needs review This PR has higher priority and needs review. labels Mar 26, 2024
@seisman seisman added this to the 0.12.0 milestone Mar 26, 2024
@seisman seisman mentioned this pull request Mar 26, 2024
Refactor all wrappers to pass an argument list to Session.call_module #3132
Merged
2 of 10 tasks
@seisman
Fix type hints
8c9b058
@seisman
seisman force-pushed the call-module-arglist branch from 53c0991 to 8c9b058 Compare March 26, 2024 04:17
@seisman
Add one more test to increase code coverage
fe84b29
yvonnefroehlich
yvonnefroehlich reviewed Mar 26, 2024
View reviewed changes
Comment thread pygmt/clib/session.py Resolved

Uh oh!

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

Comment thread pygmt/tests/test_clib.py Resolved

Uh oh!

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

Comment thread pygmt/clib/session.py Resolved

Uh oh!

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

Comment thread pygmt/clib/session.py Resolved

Uh oh!

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

seisman and others added 3 commits March 26, 2024 21:35
@seisman @yvonnefroehlich
Apply suggestions from code review
0307096
Co-authored-by: Yvonne Fröhlich <[email protected]>
@seisman
Fix style issue
88ec919
@seisman
Merge branch 'main' into call-module-arglist
3bb1162
michaelgrund
michaelgrund reviewed Mar 27, 2024
View reviewed changes
Comment thread pygmt/tests/test_clib.py Resolved

Uh oh!

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

seisman and others added 3 commits March 27, 2024 18:58
@seisman @michaelgrund
Update pygmt/tests/test_clib.py
8ce51bc
Co-authored-by: Michael Grund <[email protected]>
@seisman
Merge branch 'main' into call-module-arglist
b707b79
@seisman
Merge branch 'main' into call-module-arglist
1e0d465
@seisman
seisman requested a review from a team March 30, 2024 08:42
yvonnefroehlich
yvonnefroehlich reviewed Mar 30, 2024
View reviewed changes
Comment thread pygmt/clib/session.py Resolved

Uh oh!

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

@seisman @yvonnefroehlich
Update pygmt/clib/session.py
9c1e901
Co-authored-by: Yvonne Fröhlich <[email protected]>
weiji14
weiji14 approved these changes Mar 31, 2024
View reviewed changes
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. final review call This PR requires final review and approval from a second reviewer labels Mar 31, 2024
@seisman
seisman merged commit bbf909d into main Mar 31, 2024
@seisman
seisman deleted the call-module-arglist branch March 31, 2024 05:34
@seisman seisman mentioned this pull request Apr 2, 2024
Refactor the test_call_module_empty_argument test #3153
Merged
@seisman seisman mentioned this pull request Apr 18, 2024
Update doctests and tests to pass a list of argument strings to Session.call_module #3178
Closed
@seisman seisman mentioned this pull request Apr 27, 2024
GMT prints incorrect command line string if a list of arguments is passed #3205
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@michaelgrund michaelgrund michaelgrund left review comments
@yvonnefroehlich yvonnefroehlich yvonnefroehlich left review comments
@weiji14 weiji14 weiji14 approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

enhancement Improving an existing feature

Projects

None yet

Milestone

0.12.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

4 participants

@seisman @michaelgrund @weiji14 @yvonnefroehlich
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.