Skip to content

Commit

Permalink
Merge pull request #1302 from nschloe/flac-empty-lines
Browse files Browse the repository at this point in the history
flac3d: allow empty lines
  • Loading branch information
nschloe authored Mar 10, 2022
2 parents 3510aea + 5f5028d commit 6fbc398
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = meshio
version = 5.3.2
version = 5.3.3
author = Nico Schlömer et al.
author_email = nico.schloemer@gmail.com
description = I/O for many mesh formats
Expand Down
3 changes: 3 additions & 0 deletions src/meshio/flac3d/_flac3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ def read_buffer(f, binary):
if not line:
break

if line.strip() == "":
continue

split = line.rstrip().split()

if split[0] == "G":
Expand Down

0 comments on commit 6fbc398

Please sign in to comment.