Add a PyMOL builder to SCons and generalize PYMOL_PATH setup.
[thesis.git] / tex / src / figures / fit-space / Best_2002_detailed_unfolding_pathway / loglog_to_normal.py
1 #!/usr/bin/python
2
3 import sys
4
5 for line in sys.stdin.readlines():
6     if line.startswith('#'):
7         if line.startswith('# Xp -> '):
8             line = '# Xp -> exp_10[ ' + line[len('# Xp -> '):-1] + ' ]'
9         if line.startswith('# Yp -> '):
10             line = '# Yp -> exp_10[ ' + line[len('# Yp -> '):-1] + ' ]'
11         print line
12         continue
13     x,y = [float(z) for z in line.split()]
14     print '%g\t%g' % (10**x, 10**y)