def _check_unexecuted_comps(self, strict):
        if strict_chk_config(strict):
            errfunct = self.raise_exception
        else:
            errfunct = self._logger.warning

        if self._pre_driver:
            msg = "The following components are not in any workflow but " \
                  "are needed by other workflows"
            if not strict_chk_config(strict):
                msg += ", so they will be executed once per execution of " \
                       "this Assembly"

            pre = set(['driver']) - self._pre_driver._iter_set
            msg += ": %s" % list(sorted(pre))
            errfunct(msg)

        if self._unexecuted:
            errfunct("The following components are not in any workflow"
                     " and WILL NOT EXECUTE: %s" % list(self._unexecuted))
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/assembly.py/Assembly._check_unexecuted_comps/swapped operands of `-`