a56077ccaaccab72728d1254895ddb6104361f27,ilastik/applets/dataSelection/dataSelectionGui.py,DataSelectionGui,getImageFileNamesToOpen,#DataSelectionGui#Any#,345
Before Change
extensions = OpDataSelection.SupportedExtensions
filt = "Image files (" + " ".join("*." + x for x in extensions) + ")"
if ilastik_config.getboolean("ilastik", "debug"):
dlg = QFileDialog( self, "Select Images", defaultDirectory, filt )
dlg.setOption( QFileDialog.HideNameFilterDetails, False )
dlg.setOption( QFileDialog.DontUseNativeDialog, True )
dlg.setViewMode( QFileDialog.Detail )
dlg.setFileMode( QFileDialog.ExistingFiles )
dlg.show()
if dlg.result() == QDialog.Accepted:
fileNames = dlg.selectedFiles()
else:
fileNames = []
else:
fileNames = QFileDialog.getOpenFileNames( self, "Select Images", defaultDirectory, filt )
// Convert from QtString to python str
fileNames = [str(s) for s in fileNames]
return fileNames
def getMass(self, defaultDirectory):
After Change
extensions = OpDataSelection.SupportedExtensions
filt = "Image files (" + " ".join("*." + x for x in extensions) + ")"
options = QFileDialog.Options()
if ilastik_config.getboolean("ilastik", "debug"):
options |= QFileDialog.DontUseNativeDialog
fileNames = QFileDialog.getOpenFileNames( self, "Select Images",
defaultDirectory, filt, options=options )
// Convert from QtString to python str
fileNames = [str(s) for s in fileNames]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: ilastik/ilastik
Commit Name: a56077ccaaccab72728d1254895ddb6104361f27
Time: 2013-04-10
Author: ullrich.koethe@iwr.uni-heidelberg.de
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: getImageFileNamesToOpen
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/models
Commit Name: fe3746e6e4df13efa014e33b87974a94e4d3e79b
Time: 2018-10-05
Author: tobyboyd@google.com
File Name: official/resnet/resnet_run_loop.py
Class Name:
Method Name: process_record_dataset