Skip to content

Check the GMT version before creating a session #171

Closed

Description

@leouieda

LibGMT should check if the GMT version is >= 6.0.0. This would be great to check upon instantiation but that wouldn't work because LibGMT.get_default requires an active session. So the only logical place to put this is in LibGMT.__enter__ after the session is created. If the check fails, the session should be closed and an exception raised (possibly a new one, like GMTVersionError).

Activity

  1. added a commit that references this issue on Apr 24, 2018
    926d658
  2. added a commit that references this issue on Apr 24, 2018
    1a569d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions