Minor tweaks to swash post-processing
This commit is contained in:
parent
4f6ad7edba
commit
52d6718d70
4 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ class ReadSwash:
|
|||
|
||||
@classmethod
|
||||
def read_nohead(cls, path):
|
||||
subprocess.run(("sed", "-i", r"s/ /\n/g", path))
|
||||
subprocess.run(("sed", "-i", r"s/\s\+/\n/g", path))
|
||||
return np.loadtxt(path)
|
||||
|
||||
def read_time(self, path):
|
||||
|
|
Reference in a new issue