330f20585ccfd84bc46d0d3eaf9db858513c0a3e,ilastik/widgets/ipcServerInfoWidget.py,,,#,149

Before Change


    def set_error(self, error):
        self.ui.error.setText(error)

if __name__ == "__main__":

    class IlastikConfig:
        def __init__(self):
            pass

        @staticmethod
        def getboolean(a, b):
            return True

    ilastik_config = IlastikConfig()
    import sys
    app = QApplication(sys.argv)

    widget = IPCServerInfoWidget()
    widget.show()

    sys.exit(app.exec_())

After Change



from ilastik.config import cfg as ilastik_config

logger = logging.getLogger(__name__)


def convert_to_type(string):
    if string[0] == """ and string[-1] == """ or \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 16

Instances


Project Name: ilastik/ilastik
Commit Name: 330f20585ccfd84bc46d0d3eaf9db858513c0a3e
Time: 2015-02-13
Author: buwen@stud.uni-heidelberg.de
File Name: ilastik/widgets/ipcServerInfoWidget.py
Class Name:
Method Name:


Project Name: biolab/orange3
Commit Name: fd19d9e75464b5a07d3fa6f937c2017791d830b2
Time: 2017-04-21
Author: jerneju@gmail.com
File Name: Orange/canvas/report/owreport.py
Class Name:
Method Name:


Project Name: NervanaSystems/nlp-architect
Commit Name: 086465c96176a82b2dd3f3d378c8de8af8811905
Time: 2018-07-18
Author: shira.guskin@intel.com
File Name: solutions/set_expansion/expand_server.py
Class Name:
Method Name: