09f11428ceeac33f36136e0dcb65659195e94c7c,tests/testOpInputDataReader.py,TestOpInputDataReader,test_h5,#TestOpInputDataReader#,73

Before Change


                for k in range(0,shape[2]):
                    for l in range(0,shape[3]):
                        for m in range(0,shape[4]):
                            f["volume/data"][i,j,k,l,m] = i + j + k + l + m
        f.close()

        // Read the entire HDF5 file and verify the contents

After Change


        with h5py.File(self.testH5FileName) as f:
            f.create_group("volume")
            shape = (1,2,3,4,5)
            f["volume"].create_dataset("data", data=numpy.indices(shape).sum(0).astype(numpy.float32))

        // Read the entire HDF5 file and verify the contents
        h5Reader = OpInputDataReader(graph=self.graph)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 09f11428ceeac33f36136e0dcb65659195e94c7c
Time: 2012-10-04
Author: bergs@janelia.hhmi.org
File Name: tests/testOpInputDataReader.py
Class Name: TestOpInputDataReader
Method Name: test_h5


Project Name: ilastik/ilastik
Commit Name: a675f195b0ecbe7123391e45d799e8e049181617
Time: 2012-10-04
Author: bergs@janelia.hhmi.org
File Name: tests/testOpStreamingHdf5Reader.py
Class Name: TestOpStreamingHdf5Reader
Method Name: setUp


Project Name: luispedro/mahotas
Commit Name: 540d5e5a68e8fd3a9150ff241e2a70f21c059d96
Time: 2010-09-07
Author: lpc@cmu.edu
File Name: tests/test_distance.py
Class Name:
Method Name: _slow_dist