diff --git a/mdevaluate/reader.py b/mdevaluate/reader.py index 5aedb18..e889322 100755 --- a/mdevaluate/reader.py +++ b/mdevaluate/reader.py @@ -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):