idmtools_platform_local.cli.simulation module

idmtools local platform simulation cli commands.

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

idmtools_platform_local.cli.simulation.prettify_simulation(simulation: Dict[str, Any])

Prettifies a JSON Simulation object for printing on a console.

This includes - Making a pretty progress bar - URL-ifying the data paths

Parameters:

simulation – JSON representation of the Experiment(from API)

Returns:

Prettified simulation

idmtools_platform_local.cli.simulation.status(id: Optional[str], experiment_id: Optional[str], status: Optional[str], tags: Optional[List[Tuple[str, str]]])

List of statuses for simulation(s) with the ability to filter by id, experiment_id, status, and tags.

Parameters:
  • id (Optional[str]) – Optional Id of simulation

  • experiment_id (Optional[str]) – Optional experiment id

  • status (Optional[str]) – Optional status string to filter by

  • tag (Optional[List[Tuple[str, str]]]) – Optional list of tuples in form of tag_name tag_value to user to filter experiments with

Returns:

None