Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.26 KB

assetize_outputs.rst

File metadata and controls

27 lines (20 loc) · 1.26 KB

Assetize outputs

For an overview of assetizing outputs, see Assetize outputs Workitem.

Excluding files from assetizing

Sometimes some of the files overlap with patterns you would like to include in a destination. In the following example, there are 100 files created with the .out extension. We would like all the files except "3.out" and "5.out". We can just add these two files to the exclude patterns of an :py~idmtools_platform_comps.utils.assetize_output.assetize_output.AssetizeOutput object.

../../../examples/cookbook/comps/assetize_outputs/excluding_files/example.py

Using with experiments

The following demonstrates assetizing the output of experiments. An important part to remember with experiments is that they typically have multiple simulations. To avoid conflicts in the assetized output, the default behavior is to use the simulation.id as a folder name for each simulation output. We can include the original experiment asset collection in filtering as well by using the include_assets parameter.

../../../examples/cookbook/comps/assetize_outputs/experiment/example.py