diff --git a/doc/changes/DM-45863.bugfix.md b/doc/changes/DM-45863.bugfix.md new file mode 100644 index 0000000..2ad80ec --- /dev/null +++ b/doc/changes/DM-45863.bugfix.md @@ -0,0 +1,3 @@ +Resolved issue relating to the high throughput executor performing validation via checking of a resource spec dictionary. +Until now, ctrl_bps_parsl was passing None instead of an empty dict when there are no resource requests associated with a task. + diff --git a/python/lsst/ctrl/bps/parsl/job.py b/python/lsst/ctrl/bps/parsl/job.py index 72caef6..61b1a1c 100644 --- a/python/lsst/ctrl/bps/parsl/job.py +++ b/python/lsst/ctrl/bps/parsl/job.py @@ -282,7 +282,7 @@ def get_future( command = self.evaluate_command_line(command) if command_prefix: command = command_prefix + "\n" + command - resources = self.get_resources() if add_resources else None + resources = self.get_resources() if add_resources else {} # Add a layer of indirection to which we can add a useful name. # This name is used by parsl for tracking workflow status.