From: Cezary Czaplewski Date: Mon, 22 Jan 2018 23:45:47 +0000 (+0100) Subject: file.seq additional empty line to read exactly 80 aa X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;ds=sidebyside;h=f5bfb1703b2f64da56da1a455b632b3012c2a8ee;p=django_unres.git file.seq additional empty line to read exactly 80 aa --- 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)