def cli(ctx, path, job_path, **kwds): """Planemo command for running CWL tools and jobs. :: % planemo cwl_run cat1-tool.cwl cat-job.json """ engine = kwds.get("cwl_engine", "galaxy") if engine == "galaxy": return cwl.run_galaxy(ctx, path, job_path, **kwds) else: return cwl.run_cwltool(ctx, path, job_path, **kwds)
def _run(self, runnable, job_path): """Run CWL job using cwltool.""" return cwl.run_cwltool(self._ctx, runnable, job_path, **self._kwds)
def _run(self, runnable, job_path): """Run CWL job using cwltool.""" path = runnable.path return cwl.run_cwltool(self._ctx, path, job_path, **self._kwds)