diff --git a/modeling/data/angle.py b/modeling/data/angle.py index 51b65ad..7e95ba3 100755 --- a/modeling/data/angle.py +++ b/modeling/data/angle.py @@ -22,6 +22,8 @@ and they are therefore not supported (but may work anyway). """ +from __future__ import print_function + __author__ = "Kristian Rother" __copyright__ = "Copyright 2007-2009 2008, The Cogent Project" __contributors__ = ["Kristian Rother", "Sandra Smit"] @@ -183,7 +185,7 @@ def print_output(dihe_histo): nn=nn+1 - print nn,file + print(nn,file) if nn%1000==0: print_output(dihe_histo) logic=False diff --git a/modeling/data/dihedral.py b/modeling/data/dihedral.py index e3ee458..f77bfec 100755 --- a/modeling/data/dihedral.py +++ b/modeling/data/dihedral.py @@ -22,6 +22,8 @@ and they are therefore not supported (but may work anyway). """ +from __future__ import print_function + __author__ = "Kristian Rother" __copyright__ = "Copyright 2007-2009 2008, The Cogent Project" __contributors__ = ["Kristian Rother", "Sandra Smit"] @@ -174,7 +176,7 @@ def print_output(dihe_histo): nn=nn+1 - print nn,file + print(nn,file) if nn%1000==0: print_output(dihe_histo) logic=False