def make(self, cwl):
        """Instantiate a CWL object from a CWl document."""
        load = load_tool.load_tool(cwl, self.loading_context)
        if isinstance(load, int):
            raise Exception("Error loading tool")
        return Callable(load, self)
def make ( self , cwl ) : load = load_tool . load_tool ( cwl , self . loading_context ) if isinstance ( load , int ) : raise Exception ( "Error loading tool" ) return Callable ( load , self )
Instantiate a CWL object from a CWl document.