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 character encoding kwarg to JSONStore and FileStore #949

Merged
merged 2 commits into from
May 13, 2024

Conversation

rkingsbury
Copy link
Collaborator

Summary

Addresses #932 by adding a encoding kwarg to the Store that make use of zopen, i.e., JSONStore and FileStore. This should make it easier to troubleshoot cases when the automatically detected character encoding is not consistent with the files being read.

Copy link

codecov bot commented May 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.27%. Comparing base (13bf6e7) to head (3dbc2d6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #949   +/-   ##
=======================================
  Coverage   81.26%   81.27%           
=======================================
  Files          46       46           
  Lines        3966     3968    +2     
=======================================
+ Hits         3223     3225    +2     
  Misses        743      743           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rkingsbury rkingsbury merged commit 6093cf3 into materialsproject:main May 13, 2024
10 checks passed
@rkingsbury
Copy link
Collaborator Author

Closes #932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant