Mercurial > repos > devteam > microsats_alignment_level
diff microsats_alignment_level.py @ 2:ad471b193191
Fix blank results when running on NFS.
author | Dave Bouvier <dave@bx.psu.edu> |
---|---|
date | Fri, 16 Jan 2015 14:51:32 -0500 |
parents | d4368a5a3fc7 |
children | df7548445f4e |
line wrap: on
line diff
--- a/microsats_alignment_level.py Thu Apr 10 13:47:31 2014 -0400 +++ b/microsats_alignment_level.py Fri Jan 16 14:51:32 2015 -0500 @@ -42,6 +42,7 @@ tmpin = tempfile.NamedTemporaryFile() tmpout = tempfile.NamedTemporaryFile() tmpin.write(block.strip()) + tmpin.flush() cmdline = sputnik_cmd + " " + tmpin.name + " > /dev/null 2>&1 >> " + tmpout.name try: os.system(cmdline)