Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.78 KB

assetize_output.rst

File metadata and controls

32 lines (23 loc) · 1.78 KB

Assetize outputs Workitem

Assetizing outputs allows you to create an :py~idmtools.assets.asset_collection.AssetCollection from the outputs of a previous :py~idmtools.entities.experiment.Experiment, :py~idmtools.entities.simulation.Simulation, workitem (:pyGenericWorkItem<GenericWorkItem>, :py~idmtools_platform_comps.ssmt_work_items.comps_workitems.SSMTWorkItem, :py~idmtools_platform_comps.utils.singularity_build.SingularityBuildWorkItem) and other asset collections. In addition, you can create assets from multiple items of these type. For example, three simulations and an asset collection, or an experiment and a workitem. :py~idmtools_platform_comps.utils.assetize_output.assetize_output.AssetizeOutput is implemented as a workitem that depends on other items to complete before running.

Assetized outputs are available on in the asset collection for the associated workitem.

Assetize outputs using glob patterns to select or deselect files. See https://docs.python.org/3/library/glob.html for details on glob patterns. The default configuration is set to assetize all outputs, "**" pattern, and exclude the ".log", "StdOut.txt", "StdErr.txt", and "WorkOrder.json" files.

You can see a list of files that will be assetized without assetizing them by using the dry_run parameter. The file list will be in the output of the workitem.

See the Cookbook <Assetize Outputs> for examples of assetizing outputs.

Also review the class details :py~idmtools_platform_comps.utils.assetize_output.assetize_output.AssetizeOutput

You can also run this command from the CLI. For details, see COMPS CLI reference<COMPS CLI>.

Errors

See COMPS Errors reference<COMPS Errors>