Skip to content
Snippets Groups Projects
Commit 1fc501f6 authored by Zineb Aly's avatar Zineb Aly
Browse files

Apply suggestion to km3io/offline.py

parent efded642
No related branches found
No related tags found
2 merge requests!25Test refactor offline,!24Refactor offline
Pipeline #9856 passed
This commit is part of merge request !24. Comments created here will be created in the context of that merge request.
......@@ -198,7 +198,6 @@ class Header:
Constructor = namedtuple(attribute, fields)
if len(values) < len(fields):
values += [None] * (len(fields) - len(values))
print(attribute, fields, values)
self._data[attribute] = Constructor(
**{f: _to_num(v)
for (f, v) in zip(fields, values)})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment