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

Refactor datasets.py and update corresponding unit tests/tutorial notebook #89

Merged
merged 39 commits into from
May 17, 2022

Conversation

bongjinkoo
Copy link
Collaborator

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 in OSFProject class.
Unit tests and tutorial notebook were updated accordingly.

Issue

#74

@bongjinkoo bongjinkoo requested a review from ninamiolane May 15, 2022 21:39
@bongjinkoo bongjinkoo self-assigned this May 15, 2022
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ninamiolane ninamiolane marked this pull request as draft May 16, 2022 14:56
@ninamiolane
Copy link
Contributor

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 🙌

@codecov
Copy link

codecov bot commented May 17, 2022

Codecov Report

Merging #89 (355146b) into master (f7bfde2) will increase coverage by 8.54%.
The diff coverage is 100.00%.

@@            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     
Impacted Files Coverage Δ
ioSPI/datasets.py 100.00% <100.00%> (+28.77%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7bfde2...355146b. Read the comment docs.

@bongjinkoo bongjinkoo marked this pull request as ready for review May 17, 2022 22:43
Copy link
Contributor

@ninamiolane ninamiolane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!!

@ninamiolane ninamiolane merged commit aa08d56 into master May 17, 2022
@ninamiolane ninamiolane deleted the 74-refactor-datasets branch May 17, 2022 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants