-
Notifications
You must be signed in to change notification settings - Fork 346
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
6.0.0rc4 breaks pygmt #1636
Comments
5 tasks
Are you sure that is how Leo used it? The C code checks to see if the figure name equals -, not the format. And since that fails it tries something... I can add a check so that if either name or format equals - then skip it. |
PaulWessel
added a commit
that referenced
this issue
Sep 24, 2019
* Dont count figure formats that are not recognized See issue #1636. Here, a format instead of file name was set to - and it was passed to the function that determines the graphics format. It returned -1 (not found) but it was counted as a format and hence we said ONE output format was selected (isntead of zero). Closes #1636. * Update the docs
Closed as fixed by #1638. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below is a simple PyGMT script, which used to work with 6.0.0rc1.
The PyGMT script is equivalent to the following bash script:
Running the bash script above gives following error message:
According to the comments in PyGMT codes, passing format
-
to the figure module means "don't produce files for this figure when running gmt end". It seems it doesn't work correctly in 6.0.0rc4.The text was updated successfully, but these errors were encountered: