Skip to content

Commit

Permalink
jenkins fix
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-wagner committed Oct 4, 2020
1 parent f487e7c commit bb685a8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pygimli/core/mesh.py
Expand Up @@ -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.
Expand Down Expand Up @@ -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__
Mesh.h = __Mesh_h__

0 comments on commit bb685a8

Please sign in to comment.