11f7f78752c88ab3b42561ebbdf137a9b86a6ce3,ilastik/widgets/stackFileSelectionWidget.py,StackFileSelectionWidget,_selectFiles,#StackFileSelectionWidget#,212

Before Change


            QMessageBox.warning(self, "Invalid selection", msg )
            return None

        directory = os.path.split(fileNames[0])[0]
        PreferencesManager().set("DataSelection", "recent stack directory", directory)

        if ".h5" in fileNames[0]:
            // check for internal paths!

After Change


        if ilastik.config.cfg.getboolean("ilastik", "debug"):
            options |= QFileDialog.DontUseNativeDialog

        h5exts = [x.lstrip(".") for x in OpStreamingHdf5SequenceReaderM.H5EXTS]
        // Launch the "Open File" dialog
        extensions = vigra.impex.listExtensions().split()
        extensions.extend(h5exts)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 11f7f78752c88ab3b42561ebbdf137a9b86a6ce3
Time: 2017-03-24
Author: k-dominik@users.noreply.github.com
File Name: ilastik/widgets/stackFileSelectionWidget.py
Class Name: StackFileSelectionWidget
Method Name: _selectFiles


Project Name: fxsjy/jieba
Commit Name: 99d0fb1a8a00c80c97271b2cc58d52c4fcff0032
Time: 2015-11-09
Author: abcdoyle888@gmail.com
File Name: jieba/__init__.py
Class Name: Tokenizer
Method Name: load_userdict


Project Name: ilastik/ilastik
Commit Name: fc6a17128062165de4776a563f62e60df2461c2a
Time: 2020-04-27
Author: tom.fogaca@gmail.com
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: accept