def __init__ (self): EDPluginControlIndexingv10.__init__(self) self.setPluginIndexingExecutiveSummaryName("Parallel") self.setPluginIndexingName(None) self.__listPluginIndexingName = None self.__listPluginIndexing = None self.__xsDataIndexingResult = None
def __init__(self): EDPluginControlIndexingv10.__init__(self) self.setPluginIndexingExecutiveSummaryName("Parallel") self.setPluginIndexingName(None) self.__listPluginIndexingName = None self.__listPluginIndexing = None self.__xsDataIndexingResult = None
def __init__(self): EDPluginControlIndexingv10.__init__(self) self.setPluginIndexingName("EDPluginLabelitIndexingv1_1") self.setPluginIndexingExecutiveSummaryName("Labelit") self.setGeneratePredictionImage(True) self.__listXSDataImageReference = None self.strCONF_SYMOP_HOME = "symopHome" self.strSymopLib = None
def __init__ (self): EDPluginControlIndexingv10.__init__(self) self.setPluginIndexingName("EDPluginLabelitIndexingv1_1") self.setPluginIndexingExecutiveSummaryName("Labelit") self.setGeneratePredictionImage(True) self.__listXSDataImageReference = None self.strCONF_SYMOP_HOME = "symopHome" self.strSymopLib = None
def process(self, _edObject=None): EDPluginControlIndexingv10.process(self, _edObject) self.verboseDebug("EDPluginControlIndexingParallelv10.process") for edPluginIndexing in self.__listPluginIndexing: edPluginIndexing.connectSUCCESS(self.doSuccessActionIndexingParallel) edPluginIndexing.connectFAILURE(self.doFailureActionIndexingParallel) self.addPluginToActionCluster(edPluginIndexing) self.executeActionCluster() self.synchronizeActionCluster()
def configure(self): EDPluginControlIndexingv10.configure(self) self.DEBUG("EDPluginControlIndexingLabelitv10.configure") strSymopHome = self.config.get(self.strCONF_SYMOP_HOME) if strSymopHome is None: strWarningMessage = "EDPluginControlIndexingLabelitv10: Configuration parameter '%s' not found" % self.strCONF_SYMOP_HOME self.warning(strWarningMessage) self.addWarningMessage(strWarningMessage) else: self.strSymopLib = os.path.join(strSymopHome, "symop.lib")
def setDataInput(self, _dataInput): """ Sets the Plugin input data. A part from using the EDPlugin.setDataInput method, this method also converts the input data to the Labelit specific data model indexing input. """ EDVerbose.DEBUG("EDPluginControlIndexingLabelitv10.setDataInput") EDPluginControlIndexingv10.setDataInput(self, _dataInput) # Convert the input data to MOSFLM specific input data from EDHandlerXSDataLabelitv1_1 import EDHandlerXSDataLabelitv1_1 self.__listXSDataImageReference = EDHandlerXSDataLabelitv1_1.generateListXSDataImageReference(self.getDataInput())
def setDataInput(self, _dataInput): """ Sets the Plugin input data. A part from using the EDPlugin.setDataInput method, this method also converts the input data to the MOSFLM specific data model indexing input. """ self.verboseDebug("EDPluginControlIndexingMOSFLMv10.setDataInput") EDPluginControlIndexingv10.setDataInput(self, _dataInput) # Convert the input data to MOSFLM specific input data from EDHandlerXSDataMOSFLMv10 import EDHandlerXSDataMOSFLMv10 self.__xsDataMOSFLMIndexingInput = EDHandlerXSDataMOSFLMv10.generateXSDataMOSFLMInputIndexing(self.getDataInput())
def setDataInput(self, _dataInput): """ Sets the Plugin input data. A part from using the EDPlugin.setDataInput method, this method also converts the input data to the Labelit specific data model indexing input. """ self.DEBUG("EDPluginControlIndexingLabelitv10.setDataInput") EDPluginControlIndexingv10.setDataInput(self, _dataInput) # Convert the input data to MOSFLM specific input data from EDHandlerXSDataLabelitv1_1 import EDHandlerXSDataLabelitv1_1 self.__listXSDataImageReference = EDHandlerXSDataLabelitv1_1.generateListXSDataImageReference( self.getDataInput())
def preProcess(self, _edObject=None): """ Gets the Configuration Parameters, if found, overrides default parameters """ EDPluginControlIndexingv10.preProcess(self, _edObject) self.verboseDebug("EDPluginControlIndexingParallelv10.preProcess...") self.__listPluginIndexingName = [] self.__listPluginIndexing = [] self.__listPluginIndexingName.append("EDPluginControlIndexingMOSFLMv10") self.__listPluginIndexingName.append("EDPluginControlIndexingLabelitv10") # Load the indexing plugins iIndex = 1 for strPluginIndexingName in self.__listPluginIndexingName: strPluginIndexingBaseName = strPluginIndexingName + "-%02d" % iIndex edPluginIndexing = self.loadPlugin(strPluginIndexingName, strPluginIndexingBaseName) if (edPluginIndexing is not None): edPluginIndexing.setDataInput(self.getDataInput()) self.__listPluginIndexing.append(edPluginIndexing)
def __init__ (self): EDPluginControlIndexingv10.__init__(self) self.setPluginIndexingName("EDPluginXDSIndexingv1_0") self.setPluginIndexingExecutiveSummaryName("XDS") self.setGeneratePredictionImage(True) self.__listXSDataImageReference = None
def __init__(self): EDPluginControlIndexingv10.__init__(self) self.setPluginIndexingName("EDPluginLabelitIndexingv1_1") self.setPluginIndexingExecutiveSummaryName("Labelit") self.setGeneratePredictionImage(True) self.__listXSDataImageReference = None
def __init__ (self): EDPluginControlIndexingv10.__init__(self) self.setPluginIndexingName("EDPluginMOSFLMIndexingv10") self.setPluginIndexingExecutiveSummaryName("MOSFLM") self.setGeneratePredictionImage(True) self.__xsDataMOSFLMIndexingInput = None
def postProcess(self, _edObject=None): EDPluginControlIndexingv10.postProcess(self, _edObject) self.verboseDebug("EDPluginControlIndexingParallelv10.postProcess") self.setDataOutput(self.__xsDataIndexingResult)