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

Comparison File Existence Check Order #19

Closed
rosenbrockc opened this issue Sep 3, 2014 · 1 comment
Closed

Comparison File Existence Check Order #19

rosenbrockc opened this issue Sep 3, 2014 · 1 comment
Labels

Comments

@rosenbrockc
Copy link
Owner

When the unit test outputs are compared, fortpy first builds a representation of the model output it created before seeing if the model file to compare with even exists. In cases where the model output doesn't exist, this wastes a lot of time in the unit testing.

Before building a comparison, first make sure that the file you want to compare with exists.

@rosenbrockc rosenbrockc added the bug label Sep 3, 2014
@rosenbrockc
Copy link
Owner Author

Applied fix at the OutcomeTester level in tester.py. Re-tested the cases that were breaking individually and as a group and it worked fine. Available in version 1.1.4.

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