997f7e378ffd48fd23107037534ad12cc471cdb6,lingpy/basic/_parser.py,_QLCParser,_init_first,#_QLCParser#,70

Before Change


                        "[ERROR] Input file does not exist."
                        )
            else:
                exc_type, exc_value, exc_traceback = sys.exc_info()
                lines = traceback.format_exception(exc_type, exc_value,
                    exc_traceback)
                raise ValueError("[ERROR] Could not parse the input file. {0}".format(lines))

After Change


                self.filename = filename
        
        // raise an error otherwise
        elif type(filename) == str:
            raise IOError("[ERROR] Input file "{0}" does not exist.".format(filename))
        else:
            raise TypeError("[ERROR] Unrecognized type for "filename" arguemnt: {0}".format(type(filename).__name__))

        // load the configuration file
        if not conf:
            conf = os.path.join(rcParams["_path"],"data","conf","qlc.rc")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: lingpy/lingpy
Commit Name: 997f7e378ffd48fd23107037534ad12cc471cdb6
Time: 2013-10-25
Author: frank@pc08447.Germanistik-Kunst.Uni-Marburg.DE
File Name: lingpy/basic/_parser.py
Class Name: _QLCParser
Method Name: _init_first


Project Name: kymatio/kymatio
Commit Name: b37fdf43bd950c4872d8ea39975d98a1b5d75866
Time: 2019-03-02
Author: github@jan-schlueter.de
File Name: kymatio/scattering2d/backend/backend_torch.py
Class Name:
Method Name: cdgmm


Project Name: explosion/thinc
Commit Name: b66f42289b6fe62df8f4a1425963906068ce55fd
Time: 2020-01-12
Author: ines@ines.io
File Name: thinc/layers/add.py
Class Name:
Method Name: add