cwltool.resolver

Resolves references to CWL documents from local or remote places.

Module Contents

Functions

resolve_local(document_loader, uri)

tool_resolver(document_loader, uri)

resolve_ga4gh_tool(document_loader, uri)

Attributes

ga4gh_tool_registries

GA4GH_TRS_FILES

GA4GH_TRS_PRIMARY_DESCRIPTOR

cwltool.resolver.resolve_local(document_loader, uri)
Parameters
  • document_loader (Optional[schema_salad.ref_resolver.Loader]) –

  • uri (str) –

Return type

Optional[str]

cwltool.resolver.tool_resolver(document_loader, uri)
Parameters
  • document_loader (schema_salad.ref_resolver.Loader) –

  • uri (str) –

Return type

Optional[str]

cwltool.resolver.ga4gh_tool_registries = ['https://dockstore.org/api']
cwltool.resolver.GA4GH_TRS_FILES = {0}/api/ga4gh/v2/tools/{1}/versions/{2}/CWL/files
cwltool.resolver.GA4GH_TRS_PRIMARY_DESCRIPTOR = {0}/api/ga4gh/v2/tools/{1}/versions/{2}/plain-CWL/descriptor/{3}
cwltool.resolver.resolve_ga4gh_tool(document_loader, uri)
Parameters
  • document_loader (schema_salad.ref_resolver.Loader) –

  • uri (str) –

Return type

Optional[str]