Changeset c155a16 in sasview for src/sas/sasgui/perspectives/corfunc
- Timestamp:
- Apr 4, 2017 12:06:27 PM (8 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 463e7ffc
- Parents:
- 6722fae
- Location:
- src/sas/sasgui/perspectives/corfunc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc.py
r1dc8ec9 rc155a16 20 20 from plot_labels import * 21 21 22 logger = logging.getLogger() 22 23 23 24 class Plugin(PluginBase): … … 29 30 def __init__(self): 30 31 PluginBase.__init__(self, name="Correlation Function") 31 logg ing.info("Correlation function plug-in started")32 logger.info("Correlation function plug-in started") 32 33 self._always_active = True 33 34 self.state_reader = Reader(self.set_state) -
src/sas/sasgui/perspectives/corfunc/corfunc_state.py
rae9b8bf rc155a16 13 13 from sas.sascalc.dataloader.loader import Loader 14 14 15 logger = logging.getLogger() 16 15 17 CORNODE_NAME = 'corfunc' 16 18 CANSAS_NS = 'cansas1d/1.0' … … 216 218 msg = ("CorfuncState.fromXML: Could not read timestamp", 217 219 "\n{}").format(sys.exc_value) 218 logg ing.error(msg)220 logger.error(msg) 219 221 220 222 # Parse current state … … 360 362 msg = "XML document does not contain CorfuncState information\n{}" 361 363 msg.format(sys.exc_value) 362 logg ing.info(msg)364 logger.info(msg) 363 365 return state
Note: See TracChangeset
for help on using the changeset viewer.