weaver.processes.builtin

Submodules

Package Contents

weaver.processes.builtin.WEAVER_BUILTIN_DIR[source]
weaver.processes.builtin.get_builtin_reference_mapping(root: os.PathLike[str] = WEAVER_BUILTIN_DIR) Dict[str, BuiltinResourceMap][source]

Generates a mapping of reference to actual builtin package file path.

weaver.processes.builtin.register_builtin_processes(container: weaver.typedefs.AnySettingsContainer) None[source]

Registers every builtin CWL package to the processes database.

CWL definitions must be located within the weaver.processes.builtin module.

Note

Although any settings can be provided as input, it is better to specify a pyramid.registry.Registry or pyramid.request.Request instance in order to retrieve any pre-established database connection stored as reference. Specifying configuration settings will force recreation of a new database connection.

class weaver.processes.builtin.BuiltinProcess(toolpath_object: ruamel.yaml.comments.CommentedMap, loadingContext: cwltool.context.LoadingContext)[source]

Abstract CWL Process.

Initialize this CommandLineTool.

make_job_runner(runtime_context: cwltool.context.RuntimeContext) Type[cwltool.job.JobBase][source]