1
Fork 0

Fixed sed command

This commit is contained in:
Edgar P. Burkhart 2022-03-15 11:18:18 +01:00
parent 7167d75313
commit 3792d462d4
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -13,7 +13,7 @@ class ReadSwash:
@classmethod @classmethod
def read_nohead(cls, path): 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) return np.loadtxt(path)
def read_time(self, path): def read_time(self, path):