- Timestamp:
- Jan 21, 2011 1:35:47 PM (14 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- c26a64b
- Parents:
- cacbd7d
- Location:
- guiframe/local_perspectives
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/data_loader/data_loader.py
rf444b20 rdf7046f 6 6 import sys 7 7 import wx 8 import logging 8 9 9 10 from DataLoader.loader import Loader … … 192 193 """ 193 194 message = "" 195 log_msg = '' 194 196 output = [] 195 197 error_message = "" … … 199 201 if flag: 200 202 if extension.lower() in EXTENSIONS: 201 error_message = "Cannot load: %s\n" % str(p_file) 202 error_message += "Try File -> open ...." 203 log_msg = "Data Loader cannot " 204 log_msg += "load: %s\n" % str(p_file) 205 log_msg += "Try File -> open ...." 206 logging.info(log_msg) 203 207 continue 204 208 else: 205 209 if extension.lower() not in EXTENSIONS: 206 error_message = "Cannot load: %s\n" % str(p_file) 207 error_message += "Try Data -> Load ...." 210 log_msg = "File Loader cannot" 211 log_msg += " load: %s\n" % str(p_file) 212 log_msg += "Try Data -> Load ...." 213 logging.info(log_msg) 208 214 continue 209 215 try: … … 223 229 self.load_update(output=output, message=error_message) 224 230 225 message = "Loading Complete!" 231 message = "Loading Complete! " 232 message += log_msg 226 233 self.load_complete(output=output, error_message=error_message, 227 234 message=message, path=path) -
guiframe/local_perspectives/plotting/Plotter1D.py
r691643c rdf7046f 22 22 from danse.common.plottools.plottables import Graph 23 23 from sans.guiframe import dataFitting 24 from sans.gui comm.events import EVT_NEW_PLOT25 from sans.gui comm.events import StatusEvent26 from sans.gui comm.events import NewPlotEvent27 from sans.gui comm.events import SlicerEvent28 from sans.gui comm.events import ErrorDataEvent29 from sans.gui comm.events import RemoveDataEvent30 from sans.gui comm.events import AddManyDataEvent24 from sans.guiframe.events import EVT_NEW_PLOT 25 from sans.guiframe.events import StatusEvent 26 from sans.guiframe.events import NewPlotEvent 27 from sans.guiframe.events import SlicerEvent 28 from sans.guiframe.events import ErrorDataEvent 29 from sans.guiframe.events import RemoveDataEvent 30 from sans.guiframe.events import AddManyDataEvent 31 31 from sans.guiframe.utils import PanelMenu 32 32 from sans.guiframe.dataFitting import Data1D
Note: See TracChangeset
for help on using the changeset viewer.