[Fix] Fix further mutable default arguments and smaller issues.

This commit is contained in:
Fabian Joswig 2024-12-24 17:34:06 +01:00
commit 4089238ddd
9 changed files with 44 additions and 28 deletions

View file

@ -112,7 +112,7 @@ def check_params(path, param_hash, prefix, param_prefix="parameters_"):
# Exclude folders with different names
for exc in ls:
if not fnmatch.fnmatch(exc, prefix + '*'):
ls = list(set(ls) - set([exc]))
ls = list(set(ls) - {exc})
ls = sort_names(ls)
nums = {}