bc1ca6bc6d1c28c780e348321e8e95d5b3f91794,nussl/deep/datasets/base_dataset.py,BaseDataset,switch_to_cache,#BaseDataset#,126

Before Change



    def switch_to_cache(self):
        self.original_files = self.files
        self.files = [x for x in os.listdir(self.cache) if ".cache" in x]
        self.cache_populated = True

    def _get_item_helper(

After Change


            self.cache, 
            mode="r", 
            shape=(len(self.files),), 
            chunks=(self.chunk_size,),
            dtype=object, 
            object_codec=numcodecs.Pickle(),
            synchronizer=zarr.ThreadSynchronizer(),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: bc1ca6bc6d1c28c780e348321e8e95d5b3f91794
Time: 2019-07-15
Author: prem@u.northwestern.edu
File Name: nussl/deep/datasets/base_dataset.py
Class Name: BaseDataset
Method Name: switch_to_cache


Project Name: tgsmith61591/pmdarima
Commit Name: 942f284052b22214d830c1bc2c8de03bffaa8d07
Time: 2020-02-18
Author: aaronreidsmith@gmail.com
File Name: build_tools/azure/render_meta.py
Class Name:
Method Name:


Project Name: coala/coala-bears
Commit Name: b9f710538abab20f120d3d3e23c123ba7a6f7536
Time: 2018-07-10
Author: rafidteam@gmail.com
File Name: tests/c_languages/codeclone_detection/ClangCloneDetectionBearTest.py
Class Name: ClangCloneDetectionBearTest
Method Name: test_clones