From dff7aecdcfa6b93db7f716c0d0396419cc08828e Mon Sep 17 00:00:00 2001 From: Christopher Spinrath <christopher.spinrath@univ-grenoble-alpes.fr> Date: Wed, 19 Feb 2025 19:10:05 +0100 Subject: [PATCH] Sort directory listings --- run-exp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-exp.py b/run-exp.py index 916f2ed..4f3a5f9 100755 --- a/run-exp.py +++ b/run-exp.py @@ -43,7 +43,7 @@ class Variable: directory = pathlib.Path(value_config["directory"]).expanduser() assert directory.exists() and directory.is_dir() - values = list(directory.iterdir()) + values = sorted(list(directory.iterdir())) if value_config.get("basename", False): values = [v.name for v in values] -- GitLab