From 36f1cca529dcecbf89a38a64451e76fdc884aa7a Mon Sep 17 00:00:00 2001 From: bolliger32 Date: Mon, 17 Jun 2019 05:37:40 +0000 Subject: [PATCH] remove chdir b/c now in write methods --- src/python/clawutil/test.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/python/clawutil/test.py b/src/python/clawutil/test.py index 55fd5ad..45e2eef 100644 --- a/src/python/clawutil/test.py +++ b/src/python/clawutil/test.py @@ -215,12 +215,7 @@ def write_rundata_objects(self, path=None): if path is None: path = self.temp_path - # need to cwd b/c setrun.py files contain - # relative paths to topofiles and fgmax files - cwd = os.getcwd() - os.chdir(path) self.rundata.write(out_dir=path) - os.chdir(cwd) def run_code(self):