From aa495867669440ee3183e765d3ab6806dd958c92 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 16 Feb 2017 07:55:05 +0100 Subject: [PATCH] FEM: result task panel, codeformating and a comment --- src/Mod/Fem/_TaskPanelShowResult.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Fem/_TaskPanelShowResult.py b/src/Mod/Fem/_TaskPanelShowResult.py index a9571805f..51b0f1cc8 100644 --- a/src/Mod/Fem/_TaskPanelShowResult.py +++ b/src/Mod/Fem/_TaskPanelShowResult.py @@ -238,7 +238,7 @@ class _TaskPanelShowResult: strainvectors = np.array(self.result_object.StrainVectors) ex = np.array(strainvectors[:, 0]) ey = np.array(strainvectors[:, 1]) - ez = np.array(strainvectors[:, 2]) + ez = np.array(strainvectors[:, 2]) userdefined_eq = self.form.user_def_eq.toPlainText() # Get equation to be used UserDefinedFormula = eval(userdefined_eq).tolist() self.result_object.UserDefined = UserDefinedFormula @@ -251,7 +251,7 @@ class _TaskPanelShowResult: self.MeshObject.ViewObject.setNodeColorByScalars(self.result_object.NodeNumbers, UserDefinedFormula) self.set_result_stats("", minm, avg, maxm) QtGui.qApp.restoreOverrideCursor() - del x,y,z,T,Von,P1,P2,P3,sx,sy,sz,ex,ey,ez + del x, y, z, T, Von, P1, P2, P3, sx, sy, sz, ex, ey, ez # Dummy use to get around flake8, varibles not being used def select_displacement_type(self, disp_type): QApplication.setOverrideCursor(Qt.WaitCursor)