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

change cache to work with figures #158

Merged
merged 3 commits into from
Jan 3, 2019
Merged

change cache to work with figures #158

merged 3 commits into from
Jan 3, 2019

Conversation

schrimpf
Copy link
Contributor

JLD2 cannot save strings longer than 2^16 characters. Weave runs into this problem when trying to cache figures. I changed read_cache & write_cache to use Serialization instead of JLD2. I understand there's some downsides to this regarding forward & backward compatibility, so I understand if you don't want to merge it.

I also added a test for caching with figures and updated the expected output for two of the errors_tests.

Paul Schrimpf and others added 3 commits November 23, 2018 00:54
JLD2. JLD2 fails to save strings longer than 2^16 characters, which
can occur in the stringmime() of large figures.
Updated REQUIRE & Project.toml to include Serialization instead of
FileIO and JLD2
@coveralls
Copy link

Coverage Status

Coverage decreased (-31.9%) to 55.473% when pulling 0507ab5 on schrimpf:cache into bf57bf8 on mpastell:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-31.9%) to 55.473% when pulling 0507ab5 on schrimpf:cache into bf57bf8 on mpastell:master.

@mpastell
Copy link
Collaborator

mpastell commented Jan 3, 2019

Thanks! Sorry for the long delay in my response, I think this is a useful change and it seems good to have less dependencies.

@mpastell mpastell merged commit ab09bdd into JunoLab:master Jan 3, 2019
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.

3 participants