tomwer.core.process.control.scanvalidator.ScanValidator#

class tomwer.core.process.control.scanvalidator.ScanValidator(memoryReleaser)#

Simple workflow locker until the use validate scans

Parameters:

memReleaserWaitLoop – the time to wait in second between two memory overload if we are in lbsram.

addScan(scan)#

Return the index on the current orderred dict

Parameters:

scan

Returns:

clear()#
isValidationManual()#
Returns:

True if the validation is waiting for user interaction, otherwise False

setManualValidation(b)#

if the validation mode is setted to manual then we will wait for user approval before validating. Otherwise each previous and next scan will be validated

Paramean b:

False if we want an automatic validation