diff --git a/pyschism/io/bctides.py b/pyschism/io/bctides.py index 59e8cd2f..f6f1fef3 100644 --- a/pyschism/io/bctides.py +++ b/pyschism/io/bctides.py @@ -124,7 +124,7 @@ def write(self, path, overwrite: bool = False): path = pathlib.Path(path) if path.exists() and not overwrite: raise IOError('path exists and overwrite is False') - open(path.resolve(), 'w').write(str(self)) + open(path, 'w').write(str(self)) def get_forcing(self, boundary):