diff --git a/src/lbaf/Execution/lbsBruteForceAlgorithm.py b/src/lbaf/Execution/lbsBruteForceAlgorithm.py index 0536d6621..00e5e24d9 100644 --- a/src/lbaf/Execution/lbsBruteForceAlgorithm.py +++ b/src/lbaf/Execution/lbsBruteForceAlgorithm.py @@ -60,7 +60,7 @@ def compute_arrangement_works(self, objects: tuple, arrangement: tuple) -> dict: values["sent volume"] = v # Aggregate and store work for this rank - works[rank] = self.work_model.aggregate(values) + works[rank] = self._work_model.aggregate(values) # Return arrangement works return works @@ -75,7 +75,7 @@ def execute(self, p_id: int, phases: list, distributions: dict, statistics: dict objects = [] # Iterate over ranks - phase_ranks = phase.get_ranks() + phase_ranks = phases.get_ranks() for rank in phase_ranks: for o in rank.get_objects(): entry = { diff --git a/src/lbaf/Execution/lbsRecursiveTransferStrategy.py b/src/lbaf/Execution/lbsRecursiveTransferStrategy.py index 6df0f660d..38c4412a1 100644 --- a/src/lbaf/Execution/lbsRecursiveTransferStrategy.py +++ b/src/lbaf/Execution/lbsRecursiveTransferStrategy.py @@ -11,6 +11,7 @@ from ..Model.lbsPhase import Phase from ..Utils.exception_handler import exc_handler from ..IO.lbsStatistics import inverse_transform_sample +from ..Model.lbsObjectCommunicator import ObjectCommunicator class RecursiveTransferStrategy(TransferStrategyBase): """A concrete class for the recursive transfer strategy.""" diff --git a/tox.ini b/tox.ini index 6af429f2d..2db93ecf3 100644 --- a/tox.ini +++ b/tox.ini @@ -51,8 +51,8 @@ allowlist_externals = alwayscopy = true download = true recreate = true -ignore_errors=true -ignore_outcome=true +ignore_errors=false +ignore_outcome=false commands = bash -c 'mkdir -p artifacts; pylint --rcfile=.pylintrc --output-format=text,text:artifacts/pylint.txt src'