Minor tweaks to swash post-processing

This commit is contained in:
Edgar P. Burkhart 2022-03-29 15:34:26 +02:00
parent 4f6ad7edba
commit 52d6718d70
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
4 changed files with 4 additions and 4 deletions

View file

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