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

Update testing #353

Merged
merged 5 commits into from Mar 13, 2018
Merged

Update testing #353

merged 5 commits into from Mar 13, 2018

Conversation

JoostJM
Copy link
Collaborator

@JoostJM JoostJM commented Mar 6, 2018

No description provided.

@JoostJM JoostJM force-pushed the update-testing branch 2 times, most recently from 32a2f1a to 62cf084 Compare March 7, 2018 15:36
Test data is now available als binary data attached to the v1.0 release. Update the `getTestCase()` function to retrieve images from this location (does not use the `data` directory anymore) and update the use of this function in the examples and testing scripts.
If data is available locally, this can still be used by passing it to the `getTestCase()` function, but it is not used in the repository anymore (allows for removal of the test cases from the repository itself to speed up cloning/downloading. See also AIM-Harvard#60.
Allows for multiple configurations using the same test cases (e.g. force2D extraction, weighting).
Also redefines the structure of the baseline files, as this allows for better tracking of changes.
No further changes to the interface are made.
However, if `dataDirectory` is specified and no test cases can be found there, it subsequently downloads testcases into that directory.
This allows users to get test cases easily, but store them locally (not in a temporary directory). If no directory is supplied, the temporary directory is used.
Attempts to create the directory if they don't already exist.
@JoostJM JoostJM merged commit de34dce into AIM-Harvard:master Mar 13, 2018
@JoostJM JoostJM deleted the update-testing branch March 13, 2018 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant