From e5b4c5e861f312941bb2aa95da3d5b4f14448857 Mon Sep 17 00:00:00 2001 From: Patrick Upson Date: Wed, 29 Nov 2023 19:00:44 -0400 Subject: [PATCH] Added a fix for issue #196 --- ctd/read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctd/read.py b/ctd/read.py index e809736..3d9376a 100644 --- a/ctd/read.py +++ b/ctd/read.py @@ -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: