src/toil_lib/abstractPipelineWrapper.py
def _create_pipeline_command(self, args, workdir_path, config_path):
        """
        Creates and returns a list that represents a command for running the pipeline.
        """
        return ([self._name, 'run', os.path.join(workdir_path, 'jobStore'),
                 '--config', config_path,
                 '--workDir', workdir_path, '--retryCount', '1']
                 + (['--restart'] if args.restart else []))
def _create_pipeline_command(self, args, workdir_path, config_path):
        """
        Creates and returns a list that represents a command for running the pipeline.
        """
        return ([self._name, 'run', os.path.join(workdir_path, 'jobStore'),
                 '--config', config_path,
                 '--workDir', workdir_path, '--retryCount', '1']
                 + (['--restart'] if args.restart else []))
Creates and returns a list that represents a command for running the pipeline.