FEM: trailing whitespaces

This commit is contained in:
Bernd Hahnebach 2016-06-23 17:16:51 +01:00 committed by wmayer
parent abe8457cb3
commit 251a8d4bac

View File

@ -84,14 +84,14 @@ class FemTest(unittest.TestCase):
reader = csv.reader(points_file)
for p in reader:
self.mesh.addNode(float(p[1]), float(p[2]), float(p[3]), int(p[0]))
with open(mesh_volumes_file, 'r') as volumes_file:
reader = csv.reader(volumes_file)
for v in reader:
self.mesh.addVolume([int(v[2]), int(v[1]), int(v[3]), int(v[4]), int(v[5]),
int(v[7]), int(v[6]), int(v[9]), int(v[8]), int(v[10])],
int(v[0]))
self.mesh_object.FemMesh = self.mesh
self.active_doc.recompute()