idmtools_platform_local.platform_operations.utils module

idmtools local platform operations utils.

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

class idmtools_platform_local.platform_operations.utils.ExperimentDict

Bases: dict

Alias for local platform experiment objects.

class idmtools_platform_local.platform_operations.utils.SimulationDict

Bases: dict

Alias for local platform simulation objects.

idmtools_platform_local.platform_operations.utils.local_status_to_common(status) EntityStatus

Convert local platform status to idmtools status.

Parameters:

status

Returns:

Local platform status

idmtools_platform_local.platform_operations.utils.download_lp_file(filename: str, buffer_size: int = 128) Generator[bytes, None, None]

Returns a generator to download files on the local platform.

Parameters:
  • filename – Filename to download

  • buffer_size – Buffer size

Returns:

Generator for file content