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

remove sets

parent 3ac93175
No related branches found
No related tags found
1 merge request!15Best reco hits events
Pipeline #8610 passed
...@@ -313,7 +313,7 @@ class Reader: ...@@ -313,7 +313,7 @@ class Reader:
do not contain data. Therefore, the keys corresponding to these do not contain data. Therefore, the keys corresponding to these
fake branches are not read. fake branches are not read.
""" """
keys = set(self.keys.valid_keys) keys = self.keys.valid_keys
if key not in keys and not isinstance(key, int): if key not in keys and not isinstance(key, int):
raise KeyError( raise KeyError(
"'{}' is not a valid key or is a fake branch.".format(key)) "'{}' is not a valid key or is a fake branch.".format(key))
......
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