54752cfa38468abbab5580fae1a718bb41fe3f31,ilastik/applets/dataSelection/dataSelectionGui.py,DataSelectionGui,handleAddStack,#DataSelectionGui#Any#,289
Before Change
// Launch the "Open File" dialog
fileNames = self.getImageFileNamesToOpen(defaultDirectory)
if len(fileNames) == 1:
QMessageBox.warning(self, "Invalid selection", "Cannot create stack: You only selected one file. If your stack is contained in a single file (e.g. a multi-page tiff or hdf5 volume), please use the "Add File" button." )
return
// If the user didn"t cancel
if len(fileNames) > 0:
PreferencesManager().set("DataSelection", "recent stack image", fileNames[0])
// Convert into one big string, which is accepted by the stack loading operator
bigString = "//".join( fileNames )
After Change
if stackDlg.result() != QDialog.Accepted :
return
files = stackDlg.selectedFiles
if len(files) == 0:
return
info = DatasetInfo()
info.filePath = "//".join( files )
// Allow labels by default if this gui isn"t being used for batch data.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: ilastik/ilastik
Commit Name: 54752cfa38468abbab5580fae1a718bb41fe3f31
Time: 2013-04-19
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: handleAddStack
Project Name: pfnet/optuna
Commit Name: 967eaffc0bef4d8d22c929b4bf8f5c1a734b1cf9
Time: 2020-11-09
Author: okada@preferred.jp
File Name: optuna/multi_objective/visualization/_pareto_front.py
Class Name:
Method Name: _get_pareto_front_3d
Project Name: ray-project/ray
Commit Name: ebdccde0305125c2d507ef459b710a6a5ea99760
Time: 2020-04-28
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: init