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

Check that the GAMS DIR path actually exists before using it #83

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

jebob
Copy link

@jebob jebob commented Oct 30, 2020

This MR checks that the path exists before trying to use it. If %GAMSDIR% contains an unreadable path, fall back to the next method.

Tests

(My local normally finds the gams install via where gams)

  • Can still find the gams install even if %GAMSDIR% is C:/notafolder
  • pytest works when %GAMSDIR% is C:/notafolder

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