1dae35745e81e370955c4a257829ab4e125d0df4,niftynet/io/image_reader.py,,_create_image,#Any#Any#Any#Any#,350

Before Change


                interp_order.append(data_param[mod].interp_order)
            except AttributeError:
                interp_order.append(DEFAULT_INTERP_ORDER)
            try:
                pixdim.append(data_param[mod].pixdim)
            except AttributeError:
                pixdim.append(None)
            try:
                axcodes.append(data_param[mod].axcodes)
            except AttributeError:
                axcodes.append(None)

After Change


            axcodes.append(
                mod_spec.axcodes if hasattr(mod_spec, "axcodes") else None)
            loader.append(
                mod_spec.loader if hasattr(mod_spec, "loader") else None)

    except KeyError:
        tf.logging.fatal(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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


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


Project Name: keras-team/keras
Commit Name: c3eb62763fcc5029c26b025ba1b60d7788d491a1
Time: 2019-03-30
Author: andhus@kth.se
File Name: keras/engine/saving.py
Class Name:
Method Name: load_model


Project Name: keras-team/keras
Commit Name: c3eb62763fcc5029c26b025ba1b60d7788d491a1
Time: 2019-03-30
Author: andhus@kth.se
File Name: keras/engine/saving.py
Class Name:
Method Name: save_model