idmtools_platform_container.platform_operations.simulation_operations module#

Here we implement the ContainerPlatform simulation operations.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

class idmtools_platform_container.platform_operations.simulation_operations.ContainerPlatformSimulationOperations(platform: FilePlatform, platform_type: ~typing.Type = <class 'idmtools_platform_file.platform_operations.utils.FileSimulation'>)[source]#

Bases: FilePlatformSimulationOperations

Simulation Operation for Container Platform.

platform_cancel(sim_id: str, force: bool = False) NoReturn[source]#

Cancel platform simulation’s container job. :param sim_id: simulation id :param force: bool, True/False

Returns:

NoReturn

create_sim_directory_map(simulation_id: str) Dict[source]#

Build simulation working directory mapping. :param simulation_id: simulation id

Returns:

Dict of simulation id as key and working dir as value

__init__(platform: FilePlatform, platform_type: ~typing.Type = <class 'idmtools_platform_file.platform_operations.utils.FileSimulation'>) None#
platform: FilePlatform#