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

Apply suggestion to km3io/offline.py

parent 454bdfd0
No related branches found
No related tags found
2 merge requests!25Test refactor offline,!24Refactor offline
Pipeline #9855 passed
This commit is part of merge request !24. Comments created here will be created in the context of that merge request.
......@@ -189,7 +189,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