Changeset d3a06ce in sasview for src/sas/sasgui/perspectives/corfunc
- Timestamp:
- Apr 8, 2017 3:52:41 AM (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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- df1a6ed
- Parents:
- d1bee3f (diff), 62af61fd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- src/sas/sasgui/perspectives/corfunc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc.py
r1dc8ec9 r463e7ffc 20 20 from plot_labels import * 21 21 22 logger = logging.getLogger(__name__) 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 r463e7ffc 13 13 from sas.sascalc.dataloader.loader import Loader 14 14 15 logger = logging.getLogger(__name__) 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.