From 4a50ed1042981ce1f064c2a359885b699954b3c1 Mon Sep 17 00:00:00 2001 From: Jaime R Calzada Date: Sat, 27 Feb 2021 20:32:49 -0500 Subject: [PATCH] minor syntax fix --- pyschism/io/bctides.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):