Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix savewhen issues #648

Merged
merged 18 commits into from
Feb 14, 2022
Merged
3 changes: 2 additions & 1 deletion strax/run_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ def available_for_run(self: strax.Context,
is_stored = defaultdict(list)
for target in self._plugin_class_registry.keys():
# Skip targets that are not stored
if not self._plugin_class_registry[target].save_when > strax.SaveWhen.NEVER:
save_when = self.get_save_when(target)
if save_when == strax.SaveWhen.NEVER:
Comment on lines -426 to +428
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue 3

continue

# Should we include this target or exclude it?
Expand Down