From 3e285424f798bb0a9df46fcfb785cd3cb73b01fb Mon Sep 17 00:00:00 2001 From: Chris Broz Date: Wed, 30 Oct 2024 15:17:54 -0700 Subject: [PATCH] Update src/spyglass/utils/mixins/export.py Co-authored-by: Samuel Bray --- src/spyglass/utils/mixins/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spyglass/utils/mixins/export.py b/src/spyglass/utils/mixins/export.py index 22f8c2e6f..1a7799246 100644 --- a/src/spyglass/utils/mixins/export.py +++ b/src/spyglass/utils/mixins/export.py @@ -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):