Example #1
0
 def postProcess(self, _edObject=None):
     EDPluginExecProcessXIA2CORE.postProcess(self)
     EDVerbose.DEBUG("EDPluginExecDcrawv1_0.postProcess")
     # Create some output data
     xsDataResult = XSDataResultExecDcrawv1()
     xsdFile = XSDataFile()
     if self.__strOutputFile is not None:
         shutil.copyfile(os.path.join(self.getWorkingDirectory(), self.getLogFileName()), self.__strOutputFile)
         xsdFile.setPath(XSDataString(self.__strOutputFile))
     else:
         xsdFile.setPath(XSDataString(os.path.join(self.getWorkingDirectory(), self.getLogFileName())))
     xsDataResult.setOutputPath(xsdFile)
     if self.__strOutputType is not None:
         xsDataResult.setOutputFileType(XSDataString(self.__strOutputType))
     self.setDataOutput(xsDataResult)
Example #2
0
 def postProcess(self, _edObject=None):
     EDPluginExecProcessXIA2CORE.postProcess(self)
     EDVerbose.DEBUG("EDPluginExecDcrawv1_0.postProcess")
     # Create some output data
     xsDataResult = XSDataResultExecDcrawv1()
     xsdFile = XSDataFile()
     if self.__strOutputFile is not None:
         shutil.copyfile(os.path.join(self.getWorkingDirectory(), self.getLogFileName()), self.__strOutputFile)
         xsdFile.setPath(XSDataString(self.__strOutputFile))
     else:
         xsdFile.setPath(XSDataString(os.path.join(self.getWorkingDirectory(), self.getLogFileName())))
     xsDataResult.setOutputPath(xsdFile)
     if self.__strOutputType is not None:
         xsDataResult.setOutputFileType(XSDataString(self.__strOutputType))
     self.setDataOutput(xsDataResult)
    def postProcess(self, _edObject = None):
        EDPluginExecProcessXIA2CORE.postProcess(self)
        EDVerbose.DEBUG('*** EDPluginExecDIMPLETRUNCATETESTv10.postProcess')

        self.programTermination()

        xsDataResult = CCP4DataResultTRUNCATE(
            HKLOUT = HKL(self._hklout),
            returnStatus = CCP4ReturnStatus())

        self.setDataOutput(xsDataResult)    

        if not os.path.isfile(self.getDataOutput().getHKLOUT().getPath().getValue()):
            raise RuntimeError, 'File %s does not exist' % self.getDataOutput().getHKLOUT().getPath().getValue()

        return
Example #4
0
    def postProcess(self, _edObject=None):
        EDPluginExecProcessXIA2CORE.postProcess(self)
        EDVerbose.DEBUG('*** EDPluginExecDIMPLETRUNCATETESTv10.postProcess')

        self.programTermination()

        xsDataResult = CCP4DataResultTRUNCATE(HKLOUT=HKL(self._hklout),
                                              returnStatus=CCP4ReturnStatus())

        self.setDataOutput(xsDataResult)

        if not os.path.isfile(
                self.getDataOutput().getHKLOUT().getPath().getValue()):
            raise RuntimeError, 'File %s does not exist' % self.getDataOutput(
            ).getHKLOUT().getPath().getValue()

        return