def doSuccessActionPlugin(self, _edPlugin=None): """ retrieve the potential warning messages """ EDApplication.doSuccessActionPlugin(self, _edPlugin) EDVerbose.DEBUG("EDApplicationXAFSBatchProcessing.doSuccessActionPlugin") if (_edPlugin.getListOfErrorMessages() != []): self.doFailureActionPlugin(_edPlugin) elif (_edPlugin.getListOfWarningMessages() != []): EDVerbose.screen("XAFS data processing successful with warning messages, please check the log file.") else: EDVerbose.screen("XAFS data processing successful!")
def doSuccessActionPlugin(self, _edPlugin=None): """ retrieve the potential warning messages and set the output """ EDApplication.doSuccessActionPlugin(self, _edPlugin) EDVerbose.DEBUG("EDApplicationDimplev0.doSuccessActionPlugin") xsDataOutput = _edPlugin.getDataOutput() if (_edPlugin.getListOfErrorMessages() != []): self.doFailureActionPlugin(_edPlugin) elif (_edPlugin.getListOfWarningMessages() != []): EDVerbose.screen("Dimplev0 successful with warning messages, please check the log file.") else: EDVerbose.screen("Dimplev0 successful!")
def doSuccessActionPlugin(self, _edPlugin=None): """ retrieve the potential warning messages and set the output """ EDApplication.doSuccessActionPlugin(self, _edPlugin) EDVerbose.DEBUG("EDApplicationDimplev0.doSuccessActionPlugin") xsDataOutput = _edPlugin.getDataOutput() if (_edPlugin.getListOfErrorMessages() != []): self.doFailureActionPlugin(_edPlugin) elif (_edPlugin.getListOfWarningMessages() != []): EDVerbose.screen( "Dimplev0 successful with warning messages, please check the log file." ) else: EDVerbose.screen("Dimplev0 successful!")