Skip to content

Commit 6fbc398

Browse files
authored
Merge pull request #1302 from nschloe/flac-empty-lines
flac3d: allow empty lines
2 parents 3510aea + 5f5028d commit 6fbc398

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = meshio
3-
version = 5.3.2
3+
version = 5.3.3
44
author = Nico Schlömer et al.
55
author_email = [email protected]
66
description = I/O for many mesh formats

src/meshio/flac3d/_flac3d.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ def read_buffer(f, binary):
163163
if not line:
164164
break
165165

166+
if line.strip() == "":
167+
continue
168+
166169
split = line.rstrip().split()
167170

168171
if split[0] == "G":

0 commit comments

Comments
 (0)