Source code for pymgipsim.Settings.settings_args_to_scenario
from pymgipsim.Utilities.Scenario import scenario
[docs]
def settings_args_to_scenario(scenario_instance: scenario, args):
scenario_instance.mode = args.mode
from pymgipsim.Utilities.Scenario import scenario
[docs]
def settings_args_to_scenario(scenario_instance: scenario, args):
scenario_instance.mode = args.mode