Skip to content

Commit

Permalink
Merge pull request #211 from FREVA-CLINT/qf-range-parameter
Browse files Browse the repository at this point in the history
define the elements of list as str in Range parameter
  • Loading branch information
mo-dkrz authored Sep 12, 2024
2 parents 3320f97 + 0eba037 commit c5c59f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluation_system/api/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ def get_command_string_from_config(
]
for key, value in config["args"].items():
if isinstance(value, list):
result.append(f"{key}={','.join(value)}")
result.append(f"{key}={','.join(map(str, value))}")
elif isinstance(value, bool):
result.append(f"{key}={str(value).lower()}")
else:
Expand Down
1 change: 1 addition & 0 deletions src/evaluation_system/misc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import appdirs
import requests
import toml

from evaluation_system.misc import _ConfigWrapper
from evaluation_system.misc import logger as log
from evaluation_system.misc.exceptions import ConfigurationException
Expand Down

0 comments on commit c5c59f5

Please sign in to comment.