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

Adding assert to handle model generating unsuccessfully case in the r… #1405

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

weilixu
Copy link
Collaborator

@weilixu weilixu commented Nov 15, 2022

…emove_transfer function

Addressing the #1395 item number 3.
Adding assert to handle exception when the model generation is failed.

@weilixu weilixu added the AppendixG Methods to enable the Appendix G model workflow label Nov 15, 2022
@weilixu weilixu self-assigned this Nov 15, 2022
Copy link
Collaborator

@mdahlhausen mdahlhausen left a comment

Choose a reason for hiding this comment

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

There is an issue with model generation (path names I believe?) and we should solve that issue rather setting up an integration test assert that model generation fails.

We can add an error statement here so that the model generation fails gracefully. Use an error statement, not an 'assert'

@mdahlhausen mdahlhausen merged commit 6c9feb9 into master Jan 27, 2023
@mdahlhausen mdahlhausen deleted the handle_error_transformer_unit_test_#1395 branch March 11, 2023 22:52
@weilixu weilixu mentioned this pull request Sep 22, 2023
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AppendixG Methods to enable the Appendix G model workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants