def toil_make_tool(toolpath_object, loading_context):
    """Factory function passed to load_tool() which creates instances of the
    custom ToilCommandLineTool.

    """

    if isinstance(toolpath_object, Mapping) \
            and toolpath_object.get("class") == "CommandLineTool":
        return ToilCommandLineTool(toolpath_object, loading_context)
    return cwltool.workflow.default_make_tool(toolpath_object, loading_context)
def toil_make_tool ( toolpath_object , loading_context ) : if isinstance ( toolpath_object , Mapping ) and toolpath_object . get ( "class" ) == "CommandLineTool" : return ToilCommandLineTool ( toolpath_object , loading_context ) return cwltool . workflow . default_make_tool ( toolpath_object , loading_context )
Factory function passed to load_tool() which creates instances of the
    custom ToilCommandLineTool.