feat: improved implementation and validations of configs

This commit is contained in:
2026-02-26 08:35:59 -03:00
parent e5c6282c86
commit c51d07cff2
11 changed files with 84 additions and 57 deletions

View File

@@ -356,9 +356,10 @@ class DiceInterface(Interface):
)
def run_dice_file(self, cycle: int, proc: int, file_name: str):
with open(Path(file_name), "r") as infile, open(
Path(file_name + ".out"), "w"
) as outfile:
with (
open(Path(file_name), "r") as infile,
open(Path(file_name + ".out"), "w") as outfile,
):
if shutil.which("bash") is not None:
exit_status = subprocess.call(
[