diff --git a/merlin/study/script_adapter.py b/merlin/study/script_adapter.py index d3d8d0f4..b7ee4c47 100644 --- a/merlin/study/script_adapter.py +++ b/merlin/study/script_adapter.py @@ -180,7 +180,8 @@ def get_parallelize_command(self, procs, nodes=None, **kwargs): if key not in self._cmd_flags: if key not in self._ignored: LOG.warning("'%s' is not supported in parallel command -- ommitted.", key) - LOG.debug("'%s' is not supported in parallel command -- ommitted.", key) + else: + LOG.debug("'%s' is not supported in parallel command -- ommitted.", key) continue if value: args += [self._cmd_flags[key], f"{str(value)}"] @@ -296,7 +297,8 @@ def get_parallelize_command(self, procs, nodes=None, **kwargs): if key not in self._cmd_flags: if key not in self._ignored: LOG.warning("'%s' is not supported in parallel command -- ommitted.", key) - LOG.debug("'%s' is not supported in parallel command -- ommitted.", key) + else: + LOG.debug("'%s' is not supported in parallel command -- ommitted.", key) continue if key == "walltime":