cwltool.pack

Reformat a CWL document and all its references to be a single stream.

Attributes

LoadRefType

Functions

find_run(d, loadref, runs)

find_ids(d, ids)

replace_refs(d, rewrite, stem, newstem)

Replace references with the actual value.

import_embed(d, seen)

pack(loadingContext, uri[, rewrite_out, loader])

Module Contents

cwltool.pack.LoadRefType
cwltool.pack.find_run(d, loadref, runs)
Parameters:
  • d (Union[cwltool.utils.CWLObjectType, schema_salad.utils.ResolveType])

  • loadref (LoadRefType)

  • runs (set[str])

Return type:

None

cwltool.pack.find_ids(d, ids)
Parameters:
Return type:

None

cwltool.pack.replace_refs(d, rewrite, stem, newstem)

Replace references with the actual value.

Parameters:
Return type:

None

cwltool.pack.import_embed(d, seen)
Parameters:
Return type:

None

cwltool.pack.pack(loadingContext, uri, rewrite_out=None, loader=None)
Parameters:
Return type:

cwltool.utils.CWLObjectType