clearly show intention

This commit is contained in:
Martin Diehl 2020-03-19 09:03:38 +01:00
parent f01af70357
commit 7093647af5
1 changed files with 4 additions and 2 deletions

View File

@ -204,9 +204,11 @@ class VTK:
elif data.shape[0] == N_points: elif data.shape[0] == N_points:
self.geom.GetPointData().AddArray(d) self.geom.GetPointData().AddArray(d)
elif isinstance(data,pd.DataFrame): elif isinstance(data,pd.DataFrame):
pass raise NotImplementedError
elif isinstance(data,Table): elif isinstance(data,Table):
pass raise NotImplementedError
else:
raise TypeError
def __repr__(self): def __repr__(self):