From 3792d462d42dcce9188ef53592371f5acc4c3656 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 15 Mar 2022 11:18:18 +0100 Subject: [PATCH] Fixed sed command --- swash/processing/read_swash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swash/processing/read_swash.py b/swash/processing/read_swash.py index 2eec6b5..bacbd09 100644 --- a/swash/processing/read_swash.py +++ b/swash/processing/read_swash.py @@ -13,7 +13,7 @@ class ReadSwash: @classmethod def read_nohead(cls, path): - subprocess.run(("sed", "-i", "s/ /\n/g", path)) + subprocess.run(("sed", "-i", r"s/ /\n/g", path)) return np.loadtxt(path) def read_time(self, path):