Пример #1
0
    def doSuccessActionCharacterisation(self, _edPlugin):
        """
        retrieve the potential warning messages
        """
        EDPluginControlInterfacev10.doSuccessActionCharacterisation(self, _edPlugin)

        xsDataResultCCP4i = XSDataResultCCP4i()
        # Construct the listOfOutputFiles string...

        strListOfOutputFiles = '\n'
        strListOfOutputFiles = strListOfOutputFiles + self.getBaseDirectory() + '\n'
        xsDataOutput = self.getPluginCharacterisation().getDataOutput()
        listPredictionImages = xsDataOutput.getIndexingResult().getPredictionResult().getPredictionImage()
        for xsDataImagePrediction in listPredictionImages:
            strImagePath = xsDataImagePrediction.getPath().getValue()
            strListOfOutputFiles = strListOfOutputFiles + strImagePath + '\n'

        strCharacterisationDirectory = os.path.join(self.getWorkingDirectory(), "Characterisation")
        strBestWorkingDirectory = os.path.join(strCharacterisationDirectory, "Strategy")
        strBestWorkingDirectory = os.path.join(strBestWorkingDirectory, "EDPluginBestv10")
        strBestPlotFilePath = os.path.join(strBestWorkingDirectory, "EDPluginBestv10_plots.mtv")
        strCharacterisationOutput = os.path.join(strCharacterisationDirectory, "EDPluginControlCharacterisationv10_dataOutput.xml")

        strListOfOutputFiles = strListOfOutputFiles + strCharacterisationOutput + '\n'
        strListOfOutputFiles = strListOfOutputFiles + strBestPlotFilePath + '\n'

        xsDataStringListOfOutputFiles = XSDataString(strListOfOutputFiles)
        xsDataResultCCP4i.setListOfOutputFiles(xsDataStringListOfOutputFiles)

        self.setDataOutput(xsDataResultCCP4i)
Пример #2
0
    def doSuccessActionCharacterisation(self, _edPlugin):
        """
        retrieve the potential warning messages
        """
        EDPluginControlInterfacev10.doSuccessActionCharacterisation(
            self, _edPlugin)

        xsDataResultCCP4i = XSDataResultCCP4i()
        # Construct the listOfOutputFiles string...

        strListOfOutputFiles = '\n'
        strListOfOutputFiles = strListOfOutputFiles + self.getBaseDirectory(
        ) + '\n'
        xsDataOutput = self.getPluginCharacterisation().getDataOutput()
        listPredictionImages = xsDataOutput.getIndexingResult(
        ).getPredictionResult().getPredictionImage()
        for xsDataImagePrediction in listPredictionImages:
            strImagePath = xsDataImagePrediction.getPath().getValue()
            strListOfOutputFiles = strListOfOutputFiles + strImagePath + '\n'

        strCharacterisationDirectory = os.path.join(self.getWorkingDirectory(),
                                                    "Characterisation")
        strBestWorkingDirectory = os.path.join(strCharacterisationDirectory,
                                               "Strategy")
        strBestWorkingDirectory = os.path.join(strBestWorkingDirectory,
                                               "EDPluginBestv10")
        strBestPlotFilePath = os.path.join(strBestWorkingDirectory,
                                           "EDPluginBestv10_plots.mtv")
        strCharacterisationOutput = os.path.join(
            strCharacterisationDirectory,
            "EDPluginControlCharacterisationv10_dataOutput.xml")

        strListOfOutputFiles = strListOfOutputFiles + strCharacterisationOutput + '\n'
        strListOfOutputFiles = strListOfOutputFiles + strBestPlotFilePath + '\n'

        xsDataStringListOfOutputFiles = XSDataString(strListOfOutputFiles)
        xsDataResultCCP4i.setListOfOutputFiles(xsDataStringListOfOutputFiles)

        self.setDataOutput(xsDataResultCCP4i)
Пример #3
0
 def __init__(self):
     EDPluginControlInterfacev10.__init__(self)
     self.setXSDataInputClass(XSDataInputCCP4i)
     self.__strPluginControlSubWedgeAssembleName = "EDPluginControlSubWedgeAssemblev10"
Пример #4
0
 def __init__ (self):
     EDPluginControlInterfacev10.__init__(self)
     self.setXSDataInputClass(XSDataInputCCP4i)
     self.__strPluginControlSubWedgeAssembleName = "EDPluginControlSubWedgeAssemblev10"