Commit 80173300 authored by Laure QUINTRIC's avatar Laure QUINTRIC

return check.pbs job id

parent 3010a453
......@@ -129,6 +129,7 @@ if __name__ == '__main__':
#check if number of generated files is ok
cmd="qsub -o {}/logs -V -W depend=afterok:{} {}/check.pbs".format(output,":".join(jobs), directory)
check = runcmd(cmd).strip().split(".")[0]
sys.stdout.write(check)
else :
logging.debug("No fastq.gz files found in {}, exiting program".format(indir))
sys.exit(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment