-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a util function to the REST API that takes in a function network and checks for all known bugs that can cause a deserialization error downstream. It then addresses the bugs in a generic fashion to allow serialization (although the FN is not correct, just digestible). It also outputs a log which contains every bug it has found and recording the type of bug and where the bug is inside the FN. I call this FN-Preprocessing on the FN's generated in the larger workflows as well. I also setup some error handling incase the dynamics could not be parsed in code2amr. Returning a blank/default AMR instead of a crash. --------- Co-authored-by: Justin <[email protected]>
- Loading branch information
1 parent
724b657
commit df3e789
Showing
3 changed files
with
116 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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