diff --git a/fragon/score.py b/fragon/score.py index abe83ec..f48bf4d 100644 --- a/fragon/score.py +++ b/fragon/score.py @@ -91,7 +91,7 @@ def run_acorn(mtzin, xyzin, mtzout, lowres, highres, solvent, acorn_script, acor acorn_command = shlex.split('acorn hklin %s xyzin %s hklout %s' % (mtzin, xyzin, mtzout)) with open(acorn_script, 'r') as com, open(acorn_logfile, 'w') as acorn_log: - acorn = subprocess.Popen(acorn_command, stdin=com, stdout=subprocess.PIPE) + acorn = subprocess.Popen(acorn_command, stdin=com, stdout=subprocess.PIPE, universal_newlines=True) per_cycle = [] while True: line = acorn.stdout.readline() diff --git a/fragon/version.py b/fragon/version.py index 63d9533..7819aba 100644 --- a/fragon/version.py +++ b/fragon/version.py @@ -1,2 +1,2 @@ from __future__ import absolute_import, division, print_function -__version__ = '0.2.5' +__version__ = '0.2.6'