From bb685a8ccbf2426e5402d85a3f78b7c319679ff6 Mon Sep 17 00:00:00 2001 From: Florian Wagner Date: Sun, 4 Oct 2020 22:15:46 +0200 Subject: [PATCH] jenkins fix --- pygimli/core/mesh.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pygimli/core/mesh.py b/pygimli/core/mesh.py index d807a7f51..c87add19d 100644 --- a/pygimli/core/mesh.py +++ b/pygimli/core/mesh.py @@ -78,19 +78,12 @@ def __MeshEntity_str(self): def __Node_str(self): """Give node infos.""" - s = self.__repr__() - s += '\tID: ' + str(self.id()) + \ + s = '\tID: ' + str(self.id()) + \ ', Marker: ' + str(self.marker()) s += '\t' + str(self.pos()) + '\n' return s Node.__repr__ =__Node_str -# For Jupyer Notebook use.. check me -# Node.__repr__ = Node_str -# Mesh.__repr__ = Mesh_str -# MeshEntity.__repr__ = MeshEntity_str - - def __Mesh_setVal(self, key, val): """Index access to the mesh data. @@ -339,4 +332,4 @@ def __Boundary_outside__(self): def __Mesh_h__(self): return np.array([c.shape().h() for c in self.cells()]) -Mesh.h = __Mesh_h__ \ No newline at end of file +Mesh.h = __Mesh_h__