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 cache reprecentation of dataset #2062

Merged
merged 91 commits into from
Aug 12, 2020

Conversation

jenshnielsen
Copy link
Collaborator

Very much work in progress.

@codecov
Copy link

codecov bot commented Jul 8, 2020

Codecov Report

Merging #2062 into master will increase coverage by 0.07%.
The diff coverage is 94.23%.

@@            Coverage Diff             @@
##           master    #2062      +/-   ##
==========================================
+ Coverage   71.13%   71.20%   +0.07%     
==========================================
  Files         150      151       +1     
  Lines       20066    20147      +81     
==========================================
+ Hits        14273    14346      +73     
- Misses       5793     5801       +8     

@jenshnielsen jenshnielsen force-pushed the cache_loaded_data branch 3 times, most recently from f8ebae1 to edb2c5a Compare July 16, 2020 11:09
@jenshnielsen jenshnielsen marked this pull request as ready for review August 4, 2020 12:46
docs/examples/DataSet/Cache/read_data_from_cache.ipynb Outdated Show resolved Hide resolved
docs/examples/DataSet/Cache/write_for_caching.ipynb Outdated Show resolved Hide resolved
docs/examples/DataSet/Cache/write_for_caching.ipynb Outdated Show resolved Hide resolved
docs/examples/DataSet/Cache/write_for_caching.ipynb Outdated Show resolved Hide resolved
qcodes/dataset/data_set_cache.py Outdated Show resolved Hide resolved
qcodes/tests/dataset/test_data_set_cache.py Outdated Show resolved Hide resolved
qcodes/tests/dataset/test_data_set_cache.py Outdated Show resolved Hide resolved
qcodes/tests/dataset/test_data_set_cache.py Show resolved Hide resolved
qcodes/tests/instrument_mocks.py Show resolved Hide resolved
no load will be performed.
"""
if self._loaded_from_completed_ds:
return
Copy link
Contributor

Choose a reason for hiding this comment

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

wow, codecov tells that we don't have a test for this case :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, rewrote the tests to ensure that we also trigger this

@jenshnielsen jenshnielsen merged commit a98974c into microsoft:master Aug 12, 2020
@jenshnielsen jenshnielsen deleted the cache_loaded_data branch October 25, 2024 11:49
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.

4 participants