As rswap creates a new directory for the model file, the paths in the those files need to be update to still be correct. This function does just that.

update_swp_paths(project_path, swap_exe, parameters, verbose)

Arguments

project_path

path to the temp directory (string)

swap_exe

path to swap.exe (string)

parameters

SWAP main file parameters (string)

verbose

print status? (flag)

Value

Returns the SWAP parameter dataframe with modified path values