idmtools_platform_comps.utils.download_experiment module#

idmtools download experiment tools.

This allow downloading experiments for local testing.

Notes

  • We need some details around this somewhere. Maybe some documentation?

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

idmtools_platform_comps.utils.download_experiment.get_script_extension()[source]#

Determine extension to write out file as.

idmtools_platform_comps.utils.download_experiment.download_asset(asset, path)[source]#

Download a single asset.

idmtools_platform_comps.utils.download_experiment.write_script(simulation: Simulation, path)[source]#

Writes a shell script to execute simulation.

Parameters:
  • simulation

  • path

Returns:

None

idmtools_platform_comps.utils.download_experiment.write_experiment_script(experiment: Experiment, path: str)[source]#

Write an experiment script.

Parameters:
  • experiment

  • path

Returns:

None

idmtools_platform_comps.utils.download_experiment.download_experiment(experiment: Experiment, destination: str)[source]#

Downloads experiment to local directory.

Useful for troubleshooting experiments

Parameters:
  • experiment – Experiment to download

  • destination – Destionation Directory

Returns:

None