Exemple #1
0
    def preProcess(self):
        """
        Processes the command line, creates the plugins
        """
        EDApplication.preProcess(self)
        EDVerbose.DEBUG("EDApplicationXAFSDataProcessing.preProcess")

        # Read command line parameters and check if they are ok
        self.__bProcess = self.readAndProcessCommandLine()
    def preProcess(self):
        """
        Processes the command line, creates the plugins
        """
        EDApplication.preProcess(self)
        EDVerbose.DEBUG("EDApplicationSASPipeline.preProcess")

        # Read command line parameters and check if they are ok
        self.__bProcess = self.readAndProcessCommandLine()
    def preProcess(self):
        """
        Processes the command line, creates the plugins
        """
        EDApplication.preProcess(self)
        EDVerbose.DEBUG("EDApplicationXAFSBatchProcessing.preProcess")

        # Read command line parameters and check if they are ok
        if not self.__bUseWSGI:
            self.__bProcess = self.readAndProcessCommandLine()
Exemple #4
0
    def preProcess(self):
        """
        Processes the command line, creates the plugins
        """
        EDApplication.preProcess(self)
        EDVerbose.DEBUG("EDApplicationMXv1Characterisation.preProcess")

        if self.__xsDataInputCharacterisation == None:
            # Read command line parameters and check if they are ok
            self.__bProcess = self.readAndProcessCommandLine()

            if (self.__bProcess) and not (self.__strDatasetFileName is None):
                # Check if XML data is given as input :
                if (self.__strDatasetFileName is not None):
                    try:
                        self.__xsDataInputCharacterisation = XSDataInputCharacterisation.parseFile(self.__strDatasetFileName)
                    except:
                        errorMessage = EDMessage.ERROR_CANNOT_READ_FILE_02 % ("EDApplicationMXv1Characterisation.process", self.__strDatasetFileName)
                        EDVerbose.error(errorMessage)
                        raise RuntimeError, errorMessage
    def preProcess(self):
        """
        Processes the command line, creates the plugins
        """
        EDApplication.preProcess(self)
        EDVerbose.DEBUG("EDApplicationDimplev0.preProcess")

        if self.ccp4DataInputControlPipelineCalcDiffMap == None:
            # Read command line parameters and check if they are ok
            self.__bProcess = self.readAndProcessCommandLine()

            if (self.__bProcess) and not (self.strDatasetFileName is None):
                # Check if XML data is given as input :
                if (self.strDatasetFileName is not None):
                    try:
                        self.ccp4DataInputControlPipelineCalcDiffMap = CCP4DataInputControlPipelineCalcDiffMap.parseFile(self.strDatasetFileName)
                    except Exception:
                        errorMessage = EDMessage.ERROR_CANNOT_READ_FILE_02 % ("EDApplicationDimplev0.process", self.strDatasetFileName)
                        EDVerbose.error(errorMessage)
                        raise RuntimeError, errorMessage
Exemple #6
0
    def preProcess(self):
        """
        Processes the command line, creates the plugins
        """
        EDApplication.preProcess(self)
        EDVerbose.DEBUG("EDApplicationDimplev0.preProcess")

        if self.ccp4DataInputControlPipelineCalcDiffMap == None:
            # Read command line parameters and check if they are ok
            self.__bProcess = self.readAndProcessCommandLine()

            if (self.__bProcess) and not (self.strDatasetFileName is None):
                # Check if XML data is given as input :
                if (self.strDatasetFileName is not None):
                    try:
                        self.ccp4DataInputControlPipelineCalcDiffMap = CCP4DataInputControlPipelineCalcDiffMap.parseFile(
                            self.strDatasetFileName)
                    except Exception:
                        errorMessage = EDMessage.ERROR_CANNOT_READ_FILE_02 % (
                            "EDApplicationDimplev0.process",
                            self.strDatasetFileName)
                        EDVerbose.error(errorMessage)
                        raise RuntimeError, errorMessage