def _get_results_from_queue(self, result_queue, results, n, total_runs):
        # Get all results from the result queue
        while not result_queue.empty():
            result = result_queue.get()
            n = self._check_result_and_store_references(result, results, n, total_runs)
        return n
Extract all available results from the queue and returns the increased n
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py/Environment._get_results_from_queue