idmtools_platform_container.utils.status module#

Here we implement the ContainerPlatform status utils.

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

idmtools_platform_container.utils.status.get_simulation_status(sim_path: str) str[source]#

Get the status of a simulation. :param sim_path: Simulation Directory Path

Returns:

simulation status

idmtools_platform_container.utils.status.append_with_limit(lst: List, item: str, limit: int) List[source]#

Append an item to a list with a limit. :param lst: list of items :param item: item to be added :param limit: max number of items in the list

Returns:

updated list

Return type:

list

idmtools_platform_container.utils.status.summarize_status_files(exp_dir: str, max_display: int = 10, verbose: bool = False) NoReturn[source]#

Summarize the status of simulations. :param exp_dir: Experiment Directory Path :param max_display: the maximum number of items to display :param verbose: whether to display the simulation details

Returns:

None