26b2098c8b1da3898324a0ac5acb3a14e3d6076c,theanolm/network/architecture.py,Architecture,from_description,#Any#Any#,85

Before Change


                if not "type" in input_description:
                    raise InputError(""type" is not given in an input description.")
                if not "name" in input_description:
                    raise InputError(""name" is not given in an input description.")
                inputs.append(input_description)

            elif fields[0] == "layer":
                layer_description = {"inputs": []}

After Change


                        ""type" is not given in an input description in "{}"."
                        .format(description_file.name))
                if not "name" in input_description:
                    raise InputError(
                        ""name" is not given in an input description in "{}"."
                        .format(description_file.name))
                inputs.append(input_description)

            elif fields[0] == "layer":
                layer_description = {"inputs": []}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: senarvi/theanolm
Commit Name: 26b2098c8b1da3898324a0ac5acb3a14e3d6076c
Time: 2016-08-08
Author: seppo.git@marjaniemi.com
File Name: theanolm/network/architecture.py
Class Name: Architecture
Method Name: from_description


Project Name: MolSSI/QCEngine
Commit Name: 7fff278c49837507cf29373f5446fdada7175c92
Time: 2019-07-25
Author: sjrl423@gmail.com
File Name: qcengine/programs/molpro.py
Class Name: MolproHarness
Method Name: build_input


Project Name: senarvi/theanolm
Commit Name: 22a25a30d9a7fca19e6ca59c5b6ee82241e126df
Time: 2016-01-18
Author: seppo.git@marjaniemi.com
File Name: theanolm/network.py
Class Name: Architecture
Method Name: from_description