def postProcess(self, _edObject=None): EDPluginExec.postProcess(self) self.DEBUG("EDPluginExecPlotGlev1_0.postProcess") # Create some output data xsDataResult = XSDataResultPlotGle() for strPath in self.listPlot: strPathJpg = strPath + ".jpg" if os.path.exists(strPathJpg): xsDataResult.addFileGraph(XSDataFile(XSDataString(strPathJpg))) self.setDataOutput(xsDataResult)
def postProcess(self, _edObject = None): EDPluginExec.postProcess(self) self.DEBUG("EDPluginExecPlotGlev1_0.postProcess") # Create some output data xsDataResult = XSDataResultPlotGle() for strPath in self.listPlot: strPathJpg = strPath + ".jpg" if os.path.exists(strPathJpg): xsDataResult.addFileGraph(XSDataFile(XSDataString(strPathJpg))) self.setDataOutput(xsDataResult)
def postProcess(self, _edObject = None): EDPluginExec.postProcess(self) self.DEBUG("EDPluginExecPlotGlev1_0.postProcess") # Create some output data xsDataResult = XSDataResultPlotGle() for dictPlot in self.listPlot: strPathJpg = os.path.join(self.getWorkingDirectory(), os.path.basename(dictPlot["script"])[:-4] + ".jpg") if os.path.exists(strPathJpg): xsDataResult.addFileGraph(XSDataFile(XSDataString(strPathJpg))) self.setDataOutput(xsDataResult)