Skip to content

Commit

Permalink
Update src/spyglass/utils/mixins/export.py
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Bray <[email protected]>
  • Loading branch information
CBroz1 and samuelbray32 authored Oct 30, 2024
1 parent d3a0c51 commit 3e28542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spyglass/utils/mixins/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def restrict(self, restriction):
return super().restrict(restriction)
log_export = "fetch_nwb" not in self._called_funcs()
return self._run_with_log(
super().restrict, restriction=restriction, log_export=log_export
super().restrict, restriction=dj.AndList([restriction, self.restriction]), log_export=log_export
)

def join(self, other, log_export=True, *args, **kwargs):
Expand Down

0 comments on commit 3e28542

Please sign in to comment.