Changeset 7fb471d in sasview for src/sas/qtgui/MainWindow/DataExplorer.py
- Timestamp:
- Nov 9, 2017 8:41:56 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 4992ff2
- Parents:
- cee5c78
- git-author:
- Piotr Rozyczko <rozyczko@…> (10/27/17 08:49:35)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:41:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
- Property mode changed from 100755 to 100644
rb3e8629 r7fb471d 175 175 load_thread = threads.deferToThread(self.readData, url) 176 176 load_thread.addCallback(self.loadComplete) 177 load_thread.addErrback(self.loadFailed) 177 178 178 179 def loadFile(self, event=None): … … 221 222 load_thread = threads.deferToThread(self.readProject, filename) 222 223 load_thread.addCallback(self.readProjectComplete) 224 load_thread.addErrback(self.readProjectFailed) 225 226 def readProjectFailed(self, reason): 227 """ 228 """ 229 print("readProjectFailed FAILED: ", reason) 230 pass 223 231 224 232 def readProject(self, filename): … … 614 622 return 615 623 616 #if isinstance(paths, QtCore.QStringList):617 # paths = [str(f) for f in paths]618 619 624 if not isinstance(paths, list): 620 625 paths = [paths] … … 992 997 self.manager.add_data(data_list=output_data) 993 998 999 def loadErrback(self, reason): 1000 print("File Load Failed with:\n", reason) 1001 pass 1002 994 1003 def updateModel(self, data, p_file): 995 1004 """
Note: See TracChangeset
for help on using the changeset viewer.