Fix file redirection in Maraboupy#331
Open
vbCrLf wants to merge 1 commit intoNeuralNetworkVerification:masterfrom
Open
Fix file redirection in Maraboupy#331vbCrLf wants to merge 1 commit intoNeuralNetworkVerification:masterfrom
vbCrLf wants to merge 1 commit intoNeuralNetworkVerification:masterfrom
Conversation
Contributor
Author
|
Bug reproduction:
And two other related thoughts:
Ori |
Collaborator
|
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 |
Contributor
Author
|
@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. |
Collaborator
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.