diff --git a/src/gmx/context.py b/src/gmx/context.py index 700e3991cf..5d5b99e17c 100644 --- a/src/gmx/context.py +++ b/src/gmx/context.py @@ -790,9 +790,8 @@ def work(self, work): # element.namespace should be mapped, but not all operations are necessarily implemented. assert element.namespace in self.__operations if not element.operation in self.__operations[element.namespace]: - if self.rank < 1: - logger.error("Operation {} not found in map {}".format(element.operation, - str(self.__operations))) + logger.error("Operation {} not found in map {}".format(element.operation, + str(self.__operations))) # This check should be performed when deciding if the context is appropriate for the work. # If we are just going to use a try/catch block for this test, then we should differentiate # this exception from those raised due to incorrect usage.