diff --git a/createJobs.py b/createJobs.py index 63b676b..1c2690f 100644 --- a/createJobs.py +++ b/createJobs.py @@ -1,19 +1,19 @@ 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) - print(f"Inserted {n_insertion} new jobs") + return n_insertion