Skip to content

Commit

Permalink
don't let extract_file change directory in WPS easyblock
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed May 1, 2020
1 parent bcf7742 commit 08d7311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/easyblocks/w/wps.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ def run_wps_cmd(cmdname, mpi_cmd=True):

# unpack data
for path in testdata_paths:
extract_file(path, tmpdir)
srcdir = extract_file(path, tmpdir, change_into_dir=False)
change_dir(srcdir)

namelist_file = os.path.join(tmpdir, 'namelist.wps')

Expand Down

0 comments on commit 08d7311

Please sign in to comment.