Skip to content

Commit

Permalink
Checks for multioutput plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylmasson committed Sep 2, 2020
1 parent e94b1c7 commit a19cc21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions strax/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,9 @@ def compute(self, **kwargs):
loop_over = self.loop_over
else:
loop_over = self.deps[self.depends_on[0]].data_kind
if isinstance(loop_over, dict):
loop_over = loop_over[self.depends_on[0]]
# We can't have nested dictionaries here, can we?

# Group into lists of things (e.g. peaks)
# contained in the base things (e.g. events)
Expand Down

0 comments on commit a19cc21

Please sign in to comment.