Skip to content

Commit

Permalink
Added a fix for issue #196
Browse files Browse the repository at this point in the history
  • Loading branch information
upsonp committed Nov 29, 2023
1 parent ea03856 commit e5b4c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctd/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _parse_seabird(lines, ftype):
break
else: # btl.
# There is no *END* like in a .cnv file, skip two after header info.
if not (line.startswith("*") | line.startswith("#")):
if line != "" and not (line.startswith("*") | line.startswith("#")):
# Fix commonly occurring problem when Sbeox.* exists in the file
# the name is concatenated to previous parameter
# example:
Expand Down

0 comments on commit e5b4c5e

Please sign in to comment.