From f5bfb1703b2f64da56da1a455b632b3012c2a8ee Mon Sep 17 00:00:00 2001 From: Cezary Czaplewski Date: Tue, 23 Jan 2018 00:45:47 +0100 Subject: [PATCH] file.seq additional empty line to read exactly 80 aa --- django_simple/todo/jobfiles.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_simple/todo/jobfiles.py b/django_simple/todo/jobfiles.py index e540b4c..cdb07e7 100644 --- a/django_simple/todo/jobfiles.py +++ b/django_simple/todo/jobfiles.py @@ -316,6 +316,7 @@ CUTOFF=7.00000 WCORR4=0.00000""" f1 = open('file.seq', 'w') for i in range(0,len(seq),80): f1.write(seq[i:i+80]+'\n') + f1.write('\n') f1.close() ret_code = subprocess.Popen(' /opt/torque/bin/qsub pbs.csh', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) -- 1.7.9.5