Skip to content

Commit

Permalink
fix np
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Sep 13, 2024
1 parent ec46273 commit 057fe3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calphy/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def gather_results(mainfolder):
#parse extra info
if mode in ['ts', 'tscale']:
datafile = os.path.join(os.getcwd(), folder, 'temperature_sweep.dat')
t, f = np.unpack(datafile, unpack=True, usecols=(0,1))
t, f = np.loadtxt(datafile, unpack=True, usecols=(0,1))
datadict['temperature'][-1] = t
datadict['free_energy'][-1] = f

Expand Down

0 comments on commit 057fe3b

Please sign in to comment.