Skip to content
Snippets Groups Projects
Commit 26572af3 authored by Marko Mecina's avatar Marko Mecina
Browse files

invert logic

parent 4debee9f
No related branches found
No related tags found
No related merge requests found
......@@ -659,7 +659,7 @@ class FpmProcessor:
def filter_frames(objlist, empty_frames=True):
if not empty_frames:
if empty_frames:
return [x for x in objlist if isinstance(x, EventFrame)]
else:
return [x for x in objlist if isinstance(x, EventFrame) and x.nevts > 0]
......
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