We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b538acb + 180f761 commit ea03856Copy full SHA for ea03856
2 files changed
ctd/read.py
@@ -181,7 +181,7 @@ def _parse_seabird(lines, ftype):
181
names.append("Statistic")
182
metadata.update(
183
{
184
- "name": fname if fname else "default_file",
+ "name": fname if fname else "unknown",
185
"header": "\n".join(header),
186
"config": "\n".join(config),
187
"names": _remane_duplicate_columns(names),
tests/test_read.py
@@ -86,9 +86,7 @@ def test_btl_is_dataframe(btl):
86
87
88
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
- )
+ assert all(col in btl_as_stream.columns for col in ["Bottle", "Bottle_"])
92
93
94
def test_btl_as_stringio(btl_as_stream):
0 commit comments