a675f195b0ecbe7123391e45d799e8e049181617,tests/testOpStreamingHdf5Reader.py,TestOpStreamingHdf5Reader,setUp,#TestOpStreamingHdf5Reader#,10
Before Change
// Create a test dataset
datashape = (1,2,3,4,5)
self.data = numpy.zeros(datashape, dtype=numpy.float32)
for i in range(datashape[0]):
for j in range(datashape[1]):
for k in range(datashape[2]):
for l in range(datashape[3]):
for m in range(datashape[4]):
self.data[i,j,k,l,m] = i+j+k+l+m
def tearDown(self):
self.h5File.close()
try:
os.remove(self.testDataFileName)
After Change
// Create a test dataset
datashape = (1,2,3,4,5)
self.data = numpy.indices(datashape).sum(0).astype(numpy.float32)
def tearDown(self):
self.h5File.close()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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: 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: ncullen93/torchsample
Commit Name: 6ddf825a4aa1bcf3a35bba8d36bc433fe5ebaa39
Time: 2017-04-24
Author: ncullen@Nicks-MacBook-Pro.local
File Name: torchsample/utils.py
Class Name:
Method Name: th_iterproduct
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