Skip to content

Commit

Permalink
quick-fix: shot_id filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ccuetom committed Oct 25, 2024
1 parent 1282c88 commit 780ca37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stride/problem/acquisitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,8 @@ def load(self, *args, **kwargs):
kwargs_.update(kwargs)
kwargs = kwargs_

super().load(*args, filter={'shots': shot_ids} if shot_ids is not None else None, **kwargs)
filter = kwargs.pop('filter', {'shots': shot_ids} if shot_ids is not None else None)
super().load(*args, filter=filter, **kwargs)

self._prev_load = args, kwargs

Expand Down

0 comments on commit 780ca37

Please sign in to comment.