630a400af2bffc27a173acf876d72a1a10cd2dbf,ilastik/applets/base/appletSerializer.py,SerialClassifierSlot,_deserialize,#SerialClassifierSlot#Any#Any#,501

Before Change


        // classfier data to a temporary file and give it to vigra.
        tmpDir = tempfile.mkdtemp()
        cachePath = os.path.join(tmpDir, "tmp_classifier_cache.h5").replace("\\", "/")
        with h5py.File(cachePath, "w") as cacheFile:
            cacheFile.copy(classifierGroup, self.name)

        forests = []

After Change



    def _deserialize(self, classifierGroup, slot):
        try:
            classifier_type = pickle.loads( classifierGroup["pickled_type"][()] )
        except KeyError:
            // For compatibility with old project files, choose the default classifier.
            from lazyflow.classifiers import ParallelVigraRfLazyflowClassifier
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ilastik/ilastik
Commit Name: 630a400af2bffc27a173acf876d72a1a10cd2dbf
Time: 2014-05-08
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/base/appletSerializer.py
Class Name: SerialClassifierSlot
Method Name: _deserialize


Project Name: 10XGenomics/cellranger
Commit Name: 4cb89356f40786422b00588a01f29e3425d7d2bf
Time: 2019-02-20
Author: nlhepler@gmail.com
File Name: mro/stages/aggregator/check_molecule_info_version/__init__.py
Class Name:
Method Name: split


Project Name: ilastik/ilastik
Commit Name: 630a400af2bffc27a173acf876d72a1a10cd2dbf
Time: 2014-05-08
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/base/appletSerializer.py
Class Name: SerialClassifierSlot
Method Name: _serialize