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

Problem with wc_lang_io.Reader error formatting #143

Open
artgoldberg opened this issue Nov 20, 2020 · 0 comments
Open

Problem with wc_lang_io.Reader error formatting #143

artgoldberg opened this issue Nov 20, 2020 · 0 comments
Labels

Comments

@artgoldberg
Copy link
Contributor

Model dfba_test_model_wrong_fb_units.xlsx has wrong flux bounds units, '1 / second'.
wc_lang.io.Reader().run('dfba_test_model_wrong_fb_units.xlsx', validate=True) generates an error, but it's badly formatted:

bad formatting of flux bounds errors:
E                 FluxBounds:
E                   1.660539067173847e-22__1.992646880608616e-22__1 / second:
E                     'units':
E                       Value must be in `choices`: {'molar / second'}
E                   0.0__0.0__1 / second:
E                     'units':
E                       Value must be in `choices`: {'molar / second'}

dfba_test_model_wrong_fb_units.xlsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant