Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The gmtlib_validate_id function stepped on another object's family #5100

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

PaulWessel
Copy link
Member

How rude! Nasty business, such squabbles. The if-tests in gmtlib_validate_id were incorrect and we ended up changing a grid object's type to dataset because its actual family was matrix. But that should only happen if the stated family is neither grid nor image.

This PR should fix the PyGMT problem reported here; please check and then approve if fixed.

Nasty business, such squabbles.  The if-tests were incorrect and we ended up changing a grid objects type to dataset because its actual family was matrix.  But that should only happen if the stated family is not grid nor image.
@PaulWessel PaulWessel added this to the 6.2.0 milestone Apr 5, 2021
@PaulWessel PaulWessel self-assigned this Apr 5, 2021
Copy link
Member

@seisman seisman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that it fixes GenericMappingTools/pygmt#1177

@PaulWessel
Copy link
Member Author

A small step for a man, a giant leap for ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants