Skip to content

Commit

Permalink
patch for py2
Browse files Browse the repository at this point in the history
  • Loading branch information
rodluger committed Mar 15, 2017
1 parent 3dadeef commit 6594df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion everest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from __future__ import division, print_function, absolute_import, unicode_literals

# Version number
__version__ = "2.0.7"
__version__ = "2.0.8"

# Was everest imported from setup.py?
try:
Expand Down
2 changes: 1 addition & 1 deletion everest/basecamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def search(self, pos_tol = 2.5, neg_tol = 50., clobber = False, name = 'search',
time, depth, vardepth, delchisq = Search(self, pos_tol = pos_tol, neg_tol = neg_tol, **kwargs)
data = np.vstack([time, depth, vardepth, delchisq]).T
header = "TIME, DEPTH, VARDEPTH, DELTACHISQ"
np.savetxt(fname, data, fmt = '%.10e', header = header)
np.savetxt(fname, data, fmt = str('%.10e'), header = header)
else:
time, depth, vardepth, delchisq = np.loadtxt(fname, unpack = True, skiprows = 1)

Expand Down

0 comments on commit 6594df4

Please sign in to comment.