From fd5ac1690903bbb24d6e4b6f2cfe54134fa70e68 Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Rendo Date: Fri, 18 Nov 2022 14:46:45 +0100 Subject: [PATCH] Deleted unnecessary main file --- src/simulation_runner/run_simulation.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/simulation_runner/run_simulation.py diff --git a/src/simulation_runner/run_simulation.py b/src/simulation_runner/run_simulation.py deleted file mode 100644 index 0b55216..0000000 --- a/src/simulation_runner/run_simulation.py +++ /dev/null @@ -1,24 +0,0 @@ -# Python Imports -import typer - -# Project Imports -from src.utilities.files.json.simulation_config_parser import SimulationConfigParser -from runner import run_simulation - - -def main( - # todo put in output format possible names (-f --output-format) - output_format: str = typer.Option(..., "--output-format", "-f"), - # input_settings: str = typer.Option(..., "--input-settings", "-i"), - output_file: str = typer.Option(..., "--output-file", "-o") -): - # Check config file - input_settings = "/app/config_example.json" - parser = SimulationConfigParser(input_settings) - parser.read_content() - # Calls simulation with configuration - run_simulation(output_format, input_settings, output_file) - - -if __name__ == '__main__': - typer.run(main)