4d11c9f68a38dfb94f2a353bf41c06133a8023ad,ilastik/applets/dataSelection/dataSelectionSerializer.py,DataSelectionSerializer,_serializeToHdf5,#DataSelectionSerializer#Any#Any#Any#,42

Before Change


                    // Obtain the data from the corresponding output and store it to the project.
                    // TODO: Optimize this for large datasets by streaming it chunk-by-chunk using an OpH5WriterBigDataset!
                    dataSlot = self.mainOperator.Image[index]
                    data = dataSlot[...].wait()
    
                    // Vigra thinks its okay to reorder the data if it has axistags,
                    //  but we don"t want that. To avoid reordering, we write the data
                    //  ourselves and attach the axistags afterwards.
                    dataset = localDataGroup.create_dataset(info.datasetId, data=data)
                    dataset.attrs["axistags"] = dataSlot.meta.axistags.toJSON()
                    wroteInternalData = True
    
            // Construct a list of all the local dataset ids we want to keep

After Change


                    dataSlot = self.mainOperator.Image[index]

                    opWriter = OpH5WriterBigDataset(graph=self.mainOperator.graph)
                    opWriter.hdf5File.setValue( localDataGroup )
                    opWriter.hdf5Path.setValue( info.datasetId )
                    opWriter.Image.connect(dataSlot)

                    // Trigger the copy
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: 4d11c9f68a38dfb94f2a353bf41c06133a8023ad
Time: 2012-08-07
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/dataSelectionSerializer.py
Class Name: DataSelectionSerializer
Method Name: _serializeToHdf5


Project Name: ilastik/ilastik
Commit Name: c7f83e01b01f0c23050b63859dc9c1bf74acbc53
Time: 2013-07-31
Author: webmaster@burgerdev.de
File Name: tests/testOpInterpMissingData.py
Class Name: TestInterpMissingData
Method Name: testDetectorPropagation


Project Name: ilastik/ilastik
Commit Name: 6fe60e43efbac200052a76b0a849c4c7cd4654a5
Time: 2018-04-25
Author: jonas.massa@iwr.uni-heidelberg.de
File Name: ilastik/applets/networkClassification/nnClassGui.py
Class Name: NNClassGui
Method Name: pred_nn