-
Notifications
You must be signed in to change notification settings - Fork 95
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
Fix file redirection in Maraboupy #331
base: master
Are you sure you want to change the base?
Fix file redirection in Maraboupy #331
Conversation
Bug reproduction:
And two other related thoughts:
Ori |
For your comment #2, there's a C++ option
I think it's not exposed directly in the Python interface, but you have this function here which does the same: Marabou/maraboupy/MarabouCore.cpp Line 209 in c732d56
|
@guykatzz yeah, the issue is that the query is created inside evaluateWithMarabou but does not get returned (or saved). I think we should add an option to return the query for later inspection. |
The C++ option will dump the query, no matter which Python interface function it is created through. We can just expose it to the Python side. |
Output redirection does not get reverted on all cases.
Because there are many return statements in this function I added a cleanup label at the end of the function.