idmtools_platform_container.platform_operations.experiment_operations module#

Here we implement the ContainerPlatform experiment operations.

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

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

Bases: FilePlatformExperimentOperations

Experiment Operations for Process Platform.

platform_run_item(experiment: Experiment, **kwargs)[source]#

Run experiment. :param experiment: idmtools Experiment :param kwargs: keyword arguments used to expand functionality

Returns:

None

post_run_item(experiment: Experiment, **kwargs)[source]#

Trigger right after commissioning experiment on platform. :param experiment: Experiment just commissioned :param kwargs: keyword arguments used to expand functionality

Returns:

None

platform_cancel(experiment_id: str) NoReturn[source]#

Cancel platform experiment’s container job. :param experiment_id: Experiment ID

Returns:

No Return

platform_delete(experiment_id: str) NoReturn[source]#

Delete platform experiment. :param experiment_id: Experiment ID

Returns:

No Return

create_sim_directory_map(experiment_id: str) Dict[source]#

Build simulation working directory mapping. :param experiment_id: experiment 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.FileExperiment'>) None#
platform: FilePlatform#