From fdb3b8eb7607b87e8fb4e361e27de411b2576cf3 Mon Sep 17 00:00:00 2001 From: Matt Huszagh Date: Mon, 15 May 2023 11:51:19 -0700 Subject: [PATCH] use os.path.join for csx save file --- pyems/simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyems/simulation.py b/pyems/simulation.py index 80760ed..59fb1cf 100644 --- a/pyems/simulation.py +++ b/pyems/simulation.py @@ -234,7 +234,7 @@ def _mesh_errors(self) -> None: def save_csx(self, path: str = None): """""" if path is None: - path = self.sim_dir + "/" + self._file_name() + ".xml" + path = os.path.join(self.sim_dir, self._file_name() + ".xml") self.csx.Write2XML(path) self._csx_path = path