165207a79dafcf658f483d26ccffd9e982389dcc,niftynet/io/image_reader.py,ImageReader,initialise,#ImageReader#Any#Any#Any#,78

Before Change


            tf.logging.fatal("Reader requires task input keywords %s, but "
                             "not exist in the config file.\n"
                             "Available task keywords: %s",
                             filtered_names, list(vars(task_param)))
            raise ValueError

        self._names = filtered_names

After Change


        
        if not task_param:
            task_param = {mod:(mod,) for mod in list(data_param)}
        elif isinstance(task_param, ParserNamespace):
            task_param = vars(task_param)
        try:
            task_param = dict(task_param)
        except ValueError:
            tf.logging.fatal(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: 165207a79dafcf658f483d26ccffd9e982389dcc
Time: 2018-05-01
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name: ImageReader
Method Name: initialise


Project Name: matplotlib/matplotlib
Commit Name: 4b84a531f53c4e1a3085e18ed3787ba82416a700
Time: 2019-08-06
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/transforms.py
Class Name: Transform
Method Name: __init_subclass__


Project Name: vatlab/SoS
Commit Name: a8a37622f0ef987ca83c9b401700d0fcbece9b70
Time: 2016-12-12
Author: ben.bog@gmail.com
File Name: sos/converter.py
Class Name:
Method Name: script_to_term


Project Name: vatlab/SoS
Commit Name: a8a37622f0ef987ca83c9b401700d0fcbece9b70
Time: 2016-12-12
Author: ben.bog@gmail.com
File Name: sos/converter.py
Class Name:
Method Name: script_to_html