9956473ec6d1b2711e6d2f35526e8376eda82c1c,elfi/v2/network.py,Network,get_reference,#Network#Any#,74

Before Change


        return comp_net

    def get_reference(self, name):
        cls = self.get_node(name)["class"]
        return cls.reference(name, self)

After Change


        return comp_net

    def get_reference(self, name):
        cls = self.get_node(name)["state"]["class"]
        return cls.reference(name, self)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: elfi-dev/elfi
Commit Name: 9956473ec6d1b2711e6d2f35526e8376eda82c1c
Time: 2017-02-10
Author: jarno.lintusaari@aalto.fi
File Name: elfi/v2/network.py
Class Name: Network
Method Name: get_reference


Project Name: AlexsLemonade/refinebio
Commit Name: fb035261d517716cf5fe6bf2268d237625234ca2
Time: 2018-11-26
Author: kurt.wheeler91@gmail.com
File Name: foreman/data_refinery_foreman/foreman/main.py
Class Name:
Method Name: get_active_volumes


Project Name: elfi-dev/elfi
Commit Name: 9956473ec6d1b2711e6d2f35526e8376eda82c1c
Time: 2017-02-10
Author: jarno.lintusaari@aalto.fi
File Name: elfi/v2/network.py
Class Name: NodeReference
Method Name: __getitem__