-
Notifications
You must be signed in to change notification settings - Fork 43
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
Dataexample update #1774
Dataexample update #1774
Conversation
Signed-off-by: Hannah Robarts <[email protected]>
209431b
to
c4b0b7a
Compare
…L into dataexample_update
a910556
to
f8b513b
Compare
Signed-off-by: Hannah Robarts <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good, I have just suggested some changes to docs and I think the unit tests could be expanded a bit.
I think it would be nice to add further documentation with examples of how to use it. I just tested trying to get the walnut data locally.
I was expecting to be able to do dataexample.WALNUT.get but I think that was wrong - I had to use dataexample.WALNUT.download_data
Thank you for the review Laura! You can just use dataexample.WALNUT.get(data_dir) if the data is already in data_dir but otherwise you have to use dataexample.WALNUT.download_data we decided it's best to be really explicit if we're downloading large datasets to the users computer. I agree this is not super clear so I will add some examples. |
Ok, that makes sense, but yes examples would be great! |
Co-authored-by: Casper da Costa-Luis <[email protected]> Signed-off-by: Hannah Robarts <[email protected]>
Signed-off-by: Casper da Costa-Luis <[email protected]>
Signed-off-by: Casper da Costa-Luis <[email protected]>
Changes
Use
zenodo_get
for the data download and validationTesting you performed
Updated download_data tests
zenodo_get
is calledRelated issues/links
depends on dvolgyes/zenodo_get#25
Checklist
Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.