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

Add Python implementation of SaveBytes. #482

Merged
merged 1 commit into from Jun 17, 2020
Merged

Add Python implementation of SaveBytes. #482

merged 1 commit into from Jun 17, 2020

Conversation

@ruebot
Copy link
Member

ruebot commented Jun 16, 2020

GitHub issue(s): #478

What does this Pull Request do?

Add Python implementation of SaveBytes.

  • Resolves #478
  • Tweak formatting in DataFrameLoader

How should this be tested?

Here's an example notebook.

Additional Notes:

  • This isn't an ideal solution. From my research, I don't see an easy way to extend the DataFrame class on the Python side, since it's basically a wrapper around the Scala implementation. I also can't for the life of my implement our Scala saveToDisk implementation on the Python side. I can't figure out how to wire up the implicit class we have plus the function. But, the positive side of it is that it does mimic WriteGraphML and WriteGEXF implementations on the Python and Scala side.

  • I'll get a documentation PR in once I'm unblocked on archivesunleashed/aut-docs#76

- Resolves #478
- Tweak formatting in DataFrameLoader
@ruebot ruebot requested review from lintool and ianmilligan1 Jun 16, 2020
ruebot added a commit to archivesunleashed/notebooks that referenced this pull request Jun 16, 2020
@codecov
Copy link

codecov bot commented Jun 16, 2020

Codecov Report

Merging #482 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #482   +/-   ##
=======================================
  Coverage   83.69%   83.69%           
=======================================
  Files          43       43           
  Lines        1245     1245           
  Branches      239      239           
=======================================
  Hits         1042     1042           
  Misses         80       80           
  Partials      123      123           
ruebot added a commit to archivesunleashed/aut-docs that referenced this pull request Jun 16, 2020
@ruebot
Copy link
Member Author

ruebot commented Jun 16, 2020

Documentation PR: archivesunleashed/aut-docs#78

Copy link
Member

ianmilligan1 left a comment

Tested and works really well!

First image I pulled out:
9298ba04ddf04b74b5128831ff5556b5

@ianmilligan1 ianmilligan1 merged commit cbff479 into master Jun 17, 2020
2 checks passed
2 checks passed
codecov/patch 100.00% of diff hit (target 83.69%)
Details
codecov/project 83.69% (+0.00%) compared to d8cca11
Details
@ianmilligan1 ianmilligan1 added this to Done in 1.0.0 Release of AUT via automation Jun 17, 2020
@ianmilligan1 ianmilligan1 deleted the issue-478 branch Jun 17, 2020
ianmilligan1 pushed a commit to archivesunleashed/aut-docs that referenced this pull request Jun 17, 2020
#78)

* Documentation update for archivesunleashed/aut#482

* Update typos in 0.80.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.