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

#1446 - Print error message if required external package is missing #1808

Merged
merged 5 commits into from
Dec 12, 2019

Conversation

schillic
Copy link
Member

@schillic schillic commented Dec 2, 2019

Closes #1446.

I defined new methods outside the Requires wrappers for better error printing. Alternatively, we could sometimes remove the Requires wrappers altogether and instead use our require helper function.

The only cases I did not add are functions that are clearly package specific (default_cddlib_backend, default_polyhedra_backend, default_lp_solver_polyhedra, and polyhedron).

@schillic schillic requested a review from mforets December 2, 2019 20:39
@schillic schillic force-pushed the schillic/1446 branch 2 times, most recently from 79b0237 to b0eabf3 Compare December 3, 2019 19:53
@schillic schillic requested a review from mforets December 3, 2019 19:54
Copy link
Member

@mforets mforets left a comment

Choose a reason for hiding this comment

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

LGTM.

@mforets
Copy link
Member

mforets commented Dec 12, 2019

@schillic Have you tried the plot3d function after this change? (I haven't, and since we don't test it..)

@schillic
Copy link
Member Author

Have you tried the plot3d function after this change?

Yes, it still works.

@mforets
Copy link
Member

mforets commented Dec 12, 2019

Ok, thanks.

@schillic schillic merged commit 3e9a6df into master Dec 12, 2019
@schillic schillic deleted the schillic/1446 branch December 12, 2019 19:20
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.

Print error message if required external package is missing
2 participants