Creating a repo for test/doc image/data #763
DannieSheng
started this conversation in
Ideas
Replies: 2 comments
-
Try not to use PlantCV functions in tests |
Beta Was this translation helpful? Give feedback.
0 replies
-
I created the repository for this: https://github.com/danforthcenter/plantcv-data |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been thinking about having a "library" / repository for all test/doc image/data, such that people working on the same function, either simultaneously or not, can easily find the image/data used for testing, generating sample images for the documentation page.
I've discussed it with @nfahlgren , and here are some useful features for this repository (or library) he mentioned to be useful:
helpful to understand test data:
https://docs.google.com/spreadsheets/d/1cfNqEvvkGYdlzIV62qZOSZNJJJwVysHEi4n0FQAUbTE/edit?usp=sharing
We can think of other useful features of this repo.
Another thing is related to tests in PlantCV. I started using some synthetic data for tests. Though I am not sure if it is reasonable to do that. For example, to test the
pcv.viduslize.time_lapse_video
function in the PR #762 , a folder of test images is required. Instead of having a folder of test images stored in thetest_data
folder, I generate a folder of images and store in thecache_dir
. e.g.:Beta Was this translation helpful? Give feedback.
All reactions