From 6ff5e576b628cbfea0149f310d19e7f871bf9126 Mon Sep 17 00:00:00 2001 From: Jan Kwakkel Date: Sat, 16 Nov 2024 14:02:50 +0100 Subject: [PATCH] Update global_benchmark.py --- benchmarks/global_benchmark.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/benchmarks/global_benchmark.py b/benchmarks/global_benchmark.py index ec46c019afe..9952583a568 100644 --- a/benchmarks/global_benchmark.py +++ b/benchmarks/global_benchmark.py @@ -7,14 +7,15 @@ import time import timeit -from configurations import configurations - -from mesa.experimental.devs.simulator import ABMSimulator - # making sure we use this version of mesa and not one # also installed in site_packages or so. sys.path.insert(0, os.path.abspath("..")) +from configurations import configurations +from mesa.experimental.devs.simulator import ABMSimulator + + + # Generic function to initialize and run a model def run_model(model_class, seed, parameters):