a56077ccaaccab72728d1254895ddb6104361f27,ilastik/applets/base/appletSerializer.py,AppletSerializer,repairFile,#AppletSerializer#Any#Any#,678

Before Change


            dlg.setOption( QFileDialog.DontUseNativeDialog, False )
            dlg.setViewMode( QFileDialog.Detail )
            if dlg.exec_():
                return str(dlg.selectedFiles()[0])
            else:
                raise RuntimeError("Could not find external data: " + path)
        else:
            fileName = QFileDialog.getOpenFileName( None, "repair files", path, filt )

After Change


        if c == QMessageBox.Cancel:
            raise RuntimeError("Could not find external data: " + path)
        
        options = QFileDialog.Options()
        if ilastik_config.getboolean("ilastik", "debug"):
            options |=  QFileDialog.DontUseNativeDialog
        fileName = QFileDialog.getOpenFileName( None, "repair files", path, filt, options=options)
        if fileName.isEmpty():
            raise RuntimeError("Could not find external data: " + path)
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: a56077ccaaccab72728d1254895ddb6104361f27
Time: 2013-04-10
Author: ullrich.koethe@iwr.uni-heidelberg.de
File Name: ilastik/applets/base/appletSerializer.py
Class Name: AppletSerializer
Method Name: repairFile


Project Name: tensorflow/agents
Commit Name: ce9bf66b7397603025acfea2dede2cda5ad5c2a0
Time: 2019-10-15
Author: kokiopou@google.com
File Name: tf_agents/replay_buffers/replay_buffer.py
Class Name: ReplayBuffer
Method Name: as_dataset


Project Name: tensorflow/agents
Commit Name: aadcd4d9488bef6378291e6f0f47e72a62378cb2
Time: 2019-08-27
Author: no-reply@google.com
File Name: tf_agents/replay_buffers/tf_uniform_replay_buffer.py
Class Name: TFUniformReplayBuffer
Method Name: _as_dataset