adb2a5bdb509db7398191b6b33ac32b94729d040,ilastik/applets/dataSelection/opDataSelection.py,OpDataSelection,setupOutputs,#OpDataSelection#,317

Before Change


                    opReader.SequenceAxis.setValue(datasetInfo.sequenceAxis)
                    opReader.FilePath.setValue(datasetInfo.filePath)
                else:
                    print(">>>> Empty filePath, using OpZeroDefault as OpInputDataReader")
                    opReader = OpZeroDefault(parent=self)
                    // TODO: inject correct raw data shape
                    raw_data_shape = (250, 250, 3)
                    dummy_data = numpy.zeros(raw_data_shape, dtype="uint8")

After Change


            else:
                workflow = self.parent.parent.parent.parent
                headless = False
                if(hasattr(workflow, "_headless")):
                    headless = workflow._headless

                if not headless:
                // Use a normal (filesystem) reader
                    opReader = OpInputDataReader(parent=self)
                    if datasetInfo.subvolume_roi is not None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: adb2a5bdb509db7398191b6b33ac32b94729d040
Time: 2018-06-19
Author: adrian.wolny@iwr.uni-heidelberg.de
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: OpDataSelection
Method Name: setupOutputs


Project Name: tensorflow/cleverhans
Commit Name: a932d6e460b9eb254ae41e0d3baeb1d1214d216f
Time: 2017-01-18
Author: goodfellow.ian@gmail.com
File Name: cleverhans/utils_tf.py
Class Name:
Method Name: model_train


Project Name: HyperGAN/HyperGAN
Commit Name: 98c39a82de3d5a84380655bac2468b64ad275e23
Time: 2018-11-16
Author: martyn@255bits.com
File Name: hypergan/discriminators/configurable_discriminator.py
Class Name: ConfigurableDiscriminator
Method Name: layer_variational


Project Name: HyperGAN/HyperGAN
Commit Name: e479a84dc311792117a6aafc2b9aec17a9f1d290
Time: 2019-02-22
Author: mikkel@255bits.com
File Name: hypergan/samplers/debug_sampler.py
Class Name: DebugSampler
Method Name: __init__