Skip to content

gmt inset shall not accept -X -Y - #6298

Merged
PaulWessel merged 1 commit into
masterfrom
no-xy-inset
Feb 4, 2022
Merged

PaulWessel merged 1 commit into
masterfrom
no-xy-inset

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

While the -X and -Y options serve no purpose in a gmt inset begin call and are in fact not listed as allowable options, neither in the synopsis nor documentation, we did in fact not prohibit them, leading to troubles internally (#6288).

This PR slams that door shot. No examples nor tests used -X -Y since that was never the plan.

While the -X and -Y options serve no purpose in the gmt inset call, and are not listed as allowable options neither in synopsis nor documentation, we did in fact not prohibit them, leading to troubles (#6288).
This PR slams that door shot.  No example or tests used -X -Y since that was never the plan.
@PaulWessel PaulWessel added the bug Something isn't working label Feb 4, 2022
@PaulWessel PaulWessel added this to the 6.4.0 milestone Feb 4, 2022
@PaulWessel PaulWessel self-assigned this Feb 4, 2022
@PaulWessel
PaulWessel merged commit 48425a9 into master Feb 4, 2022
@PaulWessel
PaulWessel deleted the no-xy-inset branch February 4, 2022 17:27
PaulWessel added a commit that referenced this pull request Feb 5, 2022
Because there are things happening under the hood that adds -X -Y to a gmt inset call, we need to keep XY among the list in THIS_MODULE_OPTIONS, thus reverting #6298.  I will see if I can find a way to distinguish between these GMT-imposed -X/-Y settings and that of a user on the command line (which we would like to prevent).  For now, just reverting to avoid errors.
PaulWessel added a commit that referenced this pull request Feb 5, 2022
Because there are things happening under the hood that adds -X -Y to a gmt inset call, we need to keep XY among the list in THIS_MODULE_OPTIONS, thus reverting #6298.  I will see if I can find a way to distinguish between these GMT-imposed -X/-Y settings and that of a user on the command line (which we would like to prevent).  For now, just reverting to avoid errors.

This branch was previously deployed

1 inactive deployment
Preview — 8f019394 Deployed Feb 4, 2022 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants