Modify runner to move results to mount folder
This commit is contained in:
parent
76aa009fc2
commit
90953bf60f
|
@ -2,7 +2,7 @@
|
|||
import os
|
||||
|
||||
# Project Imports
|
||||
from src.utilities.env_variables import binary_path, configuration_settings
|
||||
from src.utilities.env_variables import binary_path, configuration_settings, shared_folder
|
||||
from src.utilities.files.json.json_utils import write_json
|
||||
|
||||
|
||||
|
@ -14,3 +14,5 @@ def run_simulation(arguments_config: dict, simulation_config: dict):
|
|||
+ " -f " + arguments_config["output-format"]
|
||||
+ " -i " + configuration_settings + " -o "
|
||||
+ arguments_config["output-file"])
|
||||
|
||||
os.system("mv " + arguments_config["output-file"] + "." + arguments_config["output-format"] + " " + shared_folder)
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Workaround while docker is not set up
|
||||
|
||||
binary_path = "wsl /mnt/d/Projects/status/Rust/consensus-research/target/release-opt/snow-family"
|
||||
# binary_path = "snow-family"
|
||||
# input_settings = "/app/config_example.json"
|
||||
input_settings = "simulation_runner/config_example.json"
|
||||
configuration_settings = "configuration_settings.json"
|
||||
arguments_schema_path = "utilities/files/schemas/arguments_schema.json"
|
||||
configuration_schema_path = "utilities/files/schemas/snow_family_configuration_schema.json"
|
||||
|
||||
# binary_path = "wsl /mnt/d/Projects/status/Rust/consensus-research/target/release-opt/snow-family"
|
||||
binary_path = "snow-family"
|
||||
# configuration_settings = "configuration_settings.json"
|
||||
configuration_settings = "shared/configuration_settings.json"
|
||||
arguments_schema_path = "src/utilities/files/schemas/arguments_schema.json"
|
||||
configuration_schema_path = "src/utilities/files/schemas/snow_family_configuration_schema.json"
|
||||
shared_folder = "shared"
|
||||
input_settings = "shared/config_example.json"
|
||||
|
|
Loading…
Reference in New Issue