Response_dir not merged with file name correctly

Issue #191 resolved
David Dickinson created an issue

When setting response_dir and running GS2 with either the full path to the input file or a relative path to a different directory the path to the response file is incorrectly constructed. We simply do response_dir//response_file when we should do the equivalent of dirname(response_file)//response_dir//basename(response_file).

This should already be handled for restart files so we probably just need to port that logic here (or better, reuse the existing code).

Comments (3)

  1. Log in to comment