Skip to content
Snippets Groups Projects
Commit bda30b67 authored by Zineb Aly's avatar Zineb Aly Committed by Tamas Gal
Browse files

Apply suggestion to km3io/offline.py

parent 219cc03d
No related branches found
No related tags found
1 merge request!27Refactor offline I/O
......@@ -235,7 +235,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.
Finish editing this message first!
Please register or to comment