emfacilities.protocols.protocol_monitor module

class emfacilities.protocols.protocol_monitor.EmailNotifier(smtpServer, emailFrom, emailTo)[source]

Bases: object

notify(title, message)[source]
class emfacilities.protocols.protocol_monitor.Monitor(**kwargs)[source]

Bases: object

addNotifier(notifier)[source]
info(message)[source]
initLoop()[source]

To be defined in subclasses.

loop()[source]
notify(title, message)[source]
step()[source]

To be defined in subclasses.

class emfacilities.protocols.protocol_monitor.PrintNotifier[source]

Bases: object

notify(title, message)[source]
class emfacilities.protocols.protocol_monitor.ProtMonitor(**kwargs)[source]

Bases: pwem.protocols.protocol.EMProtocol

This is the base class for implementing ‘Monitors’, a special type of protocols intended to be used in the context of the Scipion-Box, where several protocols will be run in streaming and the monitor will be ‘observing’ their progress.

createEmailNotifier()[source]
getInputProtocols()[source]
monitorStep()[source]
sendEMail(emailSubject, emailMessage)[source]
classmethod worksInStreaming()[source]