def finallyProcess(self, _edObject=None):
     EDPluginExec.finallyProcess(self)
     self.DEBUG("EDPluginISPyBSetImagesPositionsv1_4.finallyProcess")
     xsDataResultISPyBSetImagesPositions = XSDataResultISPyBSetImagesPositions()
     for imageCreation in self.listImageCreation:
         xsDataISPyBImageCreation = XSDataISPyBImageCreation()
         xsDataISPyBImageCreation.fileLocation = XSDataString(imageCreation.fileLocation)
         xsDataISPyBImageCreation.fileName = XSDataString(imageCreation.fileName)
         xsDataISPyBImageCreation.imageId = XSDataInteger(imageCreation.imageId)
         xsDataISPyBImageCreation.isCreated = XSDataBoolean(imageCreation.isCreated)
         xsDataResultISPyBSetImagesPositions.addImageCreation(xsDataISPyBImageCreation)
     self.setDataOutput(xsDataResultISPyBSetImagesPositions)
 def finallyProcess(self, _edObject=None):
     EDPluginISPyBv1_4.finallyProcess(self)
     self.DEBUG("EDPluginISPyBSetImagesPositionsv1_4.finallyProcess")
     xsDataResultISPyBSetImagesPositions = XSDataResultISPyBSetImagesPositions()
     for imageCreation in self.listImageCreation:
         xsDataISPyBImageCreation = XSDataISPyBImageCreation()
         xsDataISPyBImageCreation.fileLocation = XSDataString(imageCreation.fileLocation)
         xsDataISPyBImageCreation.fileName = XSDataString(imageCreation.fileName)
         try:
             xsDataISPyBImageCreation.imageId = XSDataInteger(imageCreation.imageId)
         except AttributeError:
             self.WARNING("Image %s/%s does not have any image id" %
                          (imageCreation.fileLocation, imageCreation.fileName))
         xsDataISPyBImageCreation.isCreated = XSDataBoolean(imageCreation.isCreated)
         xsDataResultISPyBSetImagesPositions.addImageCreation(xsDataISPyBImageCreation)
     self.setDataOutput(xsDataResultISPyBSetImagesPositions)
예제 #3
0
 def finallyProcess(self, _edObject=None):
     EDPluginExec.finallyProcess(self)
     self.DEBUG("EDPluginISPyBSetImagesPositionsv1_4.finallyProcess")
     xsDataResultISPyBSetImagesPositions = XSDataResultISPyBSetImagesPositions(
     )
     for imageCreation in self.listImageCreation:
         xsDataISPyBImageCreation = XSDataISPyBImageCreation()
         xsDataISPyBImageCreation.fileLocation = XSDataString(
             imageCreation.fileLocation)
         xsDataISPyBImageCreation.fileName = XSDataString(
             imageCreation.fileName)
         xsDataISPyBImageCreation.imageId = XSDataInteger(
             imageCreation.imageId)
         xsDataISPyBImageCreation.isCreated = XSDataBoolean(
             imageCreation.isCreated)
         xsDataResultISPyBSetImagesPositions.addImageCreation(
             xsDataISPyBImageCreation)
     self.setDataOutput(xsDataResultISPyBSetImagesPositions)