From 134995f45c8ac3c1b4ce12ca05c21d4654962d02 Mon Sep 17 00:00:00 2001 From: Jan Kwakkel Date: Sat, 16 Nov 2024 14:09:47 +0100 Subject: [PATCH] bugfix in global_benchmark.py (#2509) * Update global_benchmark.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- benchmarks/global_benchmark.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmarks/global_benchmark.py b/benchmarks/global_benchmark.py index ec46c019afe..b5b077e4ac0 100644 --- a/benchmarks/global_benchmark.py +++ b/benchmarks/global_benchmark.py @@ -7,14 +7,14 @@ 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):