-
Notifications
You must be signed in to change notification settings - Fork 7
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
Refactor datasets.py and update corresponding unit tests/tutorial notebook #89
Conversation
… error checks in datasets.py. Update test_datasets.py.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Converting to draft: I will review when the github actions pass, can you mark as "ready for review" when that is the case (let me know if the osf not found problem persists?). Thanks 🙌 |
…instead of subprocess.run().
…s difference test instances access the same file.
Codecov Report
@@ Coverage Diff @@
## master #89 +/- ##
==========================================
+ Coverage 90.13% 98.66% +8.54%
==========================================
Files 5 5
Lines 243 223 -20
==========================================
+ Hits 219 220 +1
+ Misses 24 3 -21
Continue to review full report at Codecov.
|
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.
Awesome, thank you!!
Description
This PR refactors
datasets.py
by making the upload/download pipeline consistent. Previously, uploading and downloading used different classes but now all the methods are inOSFProject
class.Unit tests and tutorial notebook were updated accordingly.
Issue
#74