idmtools_platform_local.internals.task_functions.simulations module¶
idmtools local platform simulation task tools.
Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.
- idmtools_platform_local.internals.task_functions.simulations.get_uuid_and_data_path(experiment_id, session, tags, extra_details: Dict[str, any])¶
Get the simulation uuid and data path.
- Parameters:
experiment_id – Experiment id
session – db session
tags – Tags to set on item
extra_details – Extra details to store.
- Returns:
uuid and data path
- idmtools_platform_local.internals.task_functions.simulations.create_simulation(experiment_id: str, tags_and_extra_details: Tuple[Dict[str, Any], Dict[str, any]], session=None) uuid.UUID ¶
Creates the simulation.
We pass tags and extra details as tuple to make batching easier and overlap with the normal create.
- Parameters:
experiment_id – Experiment id
tags_and_extra_details – Tuple contains tags dict and then dict of extra details(metadata(
session –
- Returns:
UUid of created sim