From d55ae54d32e03d41b538fff807c9c56202162feb 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):