Skip to content

Commit ea03856

Browse files
committed
Merge branch 'DFO_issues' of https://github.com/upsonp/python-ctd into DFO_issues
2 parents b538acb + 180f761 commit ea03856

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

ctd/read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def _parse_seabird(lines, ftype):
181181
names.append("Statistic")
182182
metadata.update(
183183
{
184-
"name": fname if fname else "default_file",
184+
"name": fname if fname else "unknown",
185185
"header": "\n".join(header),
186186
"config": "\n".join(config),
187187
"names": _remane_duplicate_columns(names),

tests/test_read.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ def test_btl_is_dataframe(btl):
8686

8787

8888
def test_btl_with_dup_cols(btl_as_stream):
89-
assert all(
90-
col in btl_as_stream.columns for col in ["Bottle", "Bottle_"]
91-
)
89+
assert all(col in btl_as_stream.columns for col in ["Bottle", "Bottle_"])
9290

9391

9492
def test_btl_as_stringio(btl_as_stream):

0 commit comments

Comments
 (0)