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

Apply suggestion to km3io/offline.py

parent f0f2d898
No related branches found
No related tags found
1 merge request!27Refactor offline I/O
......@@ -226,7 +226,7 @@ class Header:
"""The header"""
def __init__(self, header):
self._data = {}
self._missing_keys = list(set(header.keys()) - set(mc_header.keys()))
self._missing_keys = set(header.keys()) - set(mc_header.keys())
for attribute, fields in mc_header.items():
values = header.get(attribute, '').split()
......
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