From a179eaecf545673f95074258cb748c7120d4f26a Mon Sep 17 00:00:00 2001 From: "Marcel R." Date: Sat, 8 Jun 2024 14:07:59 +0200 Subject: [PATCH] Fix workflow resources for branches. --- law/workflow/remote.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/law/workflow/remote.py b/law/workflow/remote.py index d45c1d9b..368e5281 100644 --- a/law/workflow/remote.py +++ b/law/workflow/remote.py @@ -1552,6 +1552,9 @@ def process_resources(self): Method used by luigi to define the resources required when running this task to include into scheduling rules when using the central scheduler. """ + if self.is_branch(): + return super(BaseRemoteWorkflow, self).process_resources() + resources = self.workflow_proxy.process_resources() if self.include_member_resources: resources.update(self.resources)