1
Fork 0

Fixed sed command

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

View file

@ -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):