Skip to content

Commit

Permalink
remove chdir b/c now in write methods
Browse files Browse the repository at this point in the history
  • Loading branch information
bolliger32 committed Jun 17, 2019
1 parent 4147443 commit 36f1cca
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/python/clawutil/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 36f1cca

Please sign in to comment.