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)
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)
def __init__(self): EDPluginControlInterfacev10.__init__(self) self.setXSDataInputClass(XSDataInputCCP4i) self.__strPluginControlSubWedgeAssembleName = "EDPluginControlSubWedgeAssemblev10"
def __init__ (self): EDPluginControlInterfacev10.__init__(self) self.setXSDataInputClass(XSDataInputCCP4i) self.__strPluginControlSubWedgeAssembleName = "EDPluginControlSubWedgeAssemblev10"