Commit 4a1fbb81 authored by Manuel Günther's avatar Manuel Günther

Fixed bug in SGE submission of jobs with dependencies.

parent 5cc46eb1
......@@ -328,7 +328,7 @@ def add_job(session, command_line, name = 'job', dependencies = [], array = None = job.unique
for d in dependencies:
depending = list(session.query(Job).filter( == d))
depending = list(session.query(Job).filter(Job.unique == d))
if len(depending):
session.add(JobDependence(job.unique, depending[0].unique))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment