449bdd68c98d0a562686993885af40b920d6378d,niftynet/io/image_reader.py,,_create_image,#Any#Any#Any#Any#,336

Before Change


            return None
        interp_order = tuple(data_param[mod].interp_order
                             for mod in modalities)
        pixdim = tuple(data_param[mod].pixdim for mod in modalities)
        axcodes = tuple(data_param[mod].axcodes for mod in modalities)
        loader = tuple(data_param[mod].loader for mod in modalities)
    except KeyError:

After Change


                interp_order.append(data_param[mod].interp_order)
            except AttributeError:
                interp_order = DEFAULT_INTERP_ORDER
            try:
                pixdim.append(data_param[mod].pixdim)
            except AttributeError:
                pixdim = None
            try:
                axcodes.append(data_param[mod].axcodes)
            except AttributeError:
                axcodes = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: NifTK/NiftyNet
Commit Name: 449bdd68c98d0a562686993885af40b920d6378d
Time: 2018-05-01
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name:
Method Name: _create_image


Project Name: chainer/chainercv
Commit Name: 5e01619e1f495db4ce7201c1444a66fbf46059c4
Time: 2019-02-23
Author: ktns.87@gmail.com
File Name: chainercv/links/model/pickable_sequential_chain.py
Class Name: PickableSequentialChain
Method Name: pick


Project Name: OpenNMT/OpenNMT-py
Commit Name: 820ad912dda0b5cbe49c53762374deb6bedd1299
Time: 2019-02-01
Author: dylan.flaute@gmail.com
File Name: tools/embeddings_to_torch.py
Class Name:
Method Name: get_vocabs


Project Name: deepmind/sonnet
Commit Name: de769df64ad870d9cc594c09f2d2e4cd5ae0ea21
Time: 2018-01-29
Author: noreply@google.com
File Name: sonnet/python/modules/conv.py
Class Name:
Method Name: _fill_shape