Fixed sed command
This commit is contained in:
parent
7167d75313
commit
3792d462d4
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue