4051f7849ca264541659b0e6da21099b749d16da,lazyflow/operators/ioOperators/opStreamingHdf5Reader.py,OpStreamingHdf5Reader,setupOutputs,#OpStreamingHdf5Reader#,35
Before Change
numDimensions = len(outputShape)
if numDimensions < len(axisorder):
axisorder = axisorder.replace("t", "")
if numDimensions < len(axisorder):
axisorder = axisorder.replace("z", "")
if numDimensions < len(axisorder):
axisorder = axisorder.replace("c", "")
axistags = vigra.defaultAxistags(axisorder)
assert len(axistags) == len( outputShape ), "Mismatch between shape {} and axisorder {}".format( outputShape, axisorder )
After Change
assert ndims != 1, "OpStreamingHdf5Reader: Support for 1-D data not yet supported"
assert ndims <= 5, "OpStreamingHdf5Reader: No support for data with more than 5 dimensions."
axisorders = { 2 : "xy",
3 : "xyz",
4 : "xyzc",
5 : "txyzc" }
axisorder = axisorders[ndims]
if ndims == 3 and dataset.shape[2] <= 4:
// Special case: If the 3rd dim is small, assume it"s "c", not "z"
axisorder = "xyc"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: ilastik/ilastik
Commit Name: 4051f7849ca264541659b0e6da21099b749d16da
Time: 2013-04-29
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/ioOperators/opStreamingHdf5Reader.py
Class Name: OpStreamingHdf5Reader
Method Name: setupOutputs
Project Name: pantsbuild/pants
Commit Name: 07d517a88c330102d10753b1ad118c22c335737c
Time: 2014-12-06
Author: benjyw@gmail.com
File Name: src/python/pants/backend/core/tasks/reflect.py
Class Name:
Method Name: gen_goals_glopts_reference_data
Project Name: sassoftware/python-dlpy
Commit Name: 4cf94b4f157424e41be9cd4f45a9d0b3cf1bbfe5
Time: 2018-10-25
Author: Ethem.Can@sas.com
File Name: dlpy/layers.py
Class Name:
Method Name: _unpack_config