Changed energy_reader genfromtxt to loadtxt
This commit is contained in:
parent
94a30b1d40
commit
39bccf8792
@ -242,7 +242,7 @@ def energy_reader(file, energies=None):
|
||||
header = i
|
||||
break
|
||||
|
||||
data = np.genfromtxt(f"{directory}/tmp.xvg", skip_header=header)
|
||||
data = np.loadtxt(f"{directory}/tmp.xvg", skiprows=header)
|
||||
|
||||
df = pd.DataFrame({"Time":data[:,0]})
|
||||
for i, label in enumerate(labels):
|
||||
|
Loading…
Reference in New Issue
Block a user