From 39bccf8792131d83b4408f25133257fc5d3f5b31 Mon Sep 17 00:00:00 2001 From: sebastiankloth Date: Wed, 25 May 2022 16:39:41 +0200 Subject: [PATCH] Changed energy_reader genfromtxt to loadtxt --- mdevaluate/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):