Skip to content

Commit eca7dc4

Browse files
committed
Ignore LUT lines starting with Column
1 parent 25576ef commit eca7dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/daq_config_server/converters/_converter_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def parse_lut(contents: str, *params: tuple[str, type | None]) -> GenericLookupT
4040
column_names = [param[0] for param in params]
4141
types = [param[1] for param in params]
4242
for line in remove_comments(contents.splitlines()):
43-
if line.startswith("Units"):
43+
if line.startswith("Units") or line.startswith("Column"):
4444
continue
4545
rows.append(
4646
[parse_value(value, types[i]) for i, value in enumerate(line.split())]

0 commit comments

Comments
 (0)