Page MenuHomec4science
No OneTemporary

File Metadata

Wed, Feb 8, 11:55

import git
def createJobs(base):
# create of job template object
job = base.Job()
repo = git.Repo.init('/home/richart/akantu-bare', bare=True)
commits = repo.iter_commits()
# specify a range of jobs
job["revision"] = [c.hexsha for c in commits]
job["ntasks"] = [1]
# creation of the jobs on the database
n_insertion = base.createParameterSpace(job)
return n_insertion

Event Timeline