OCDocker.Workbench.Export module

Publishable export helpers for Workbench manifests.

OCDocker.Workbench.Export.build_publication_export(manifest_path, export_dir, *, copy_artifacts=False, overwrite=False)[source]

Build a publishable export scaffold from a run or result manifest.

Parameters:
  • manifest_path (str or pathlib.Path) – Source run or result manifest path.

  • export_dir (str or pathlib.Path) – Export directory to create or update.

  • copy_artifacts (bool) – If True, copy declared existing artifacts into artifacts/.

  • overwrite (bool) – If True, overwrite existing export files and copied artifacts.

Returns:

Export summary.

Return type:

PublicationExport