Summary:
A failing compilation leaves the cwd in the CmdStan folder.
Description:
The do_command function uses a context manager which doesn't seem to restore the previous working directory, when a compilation failure occurs.
Additional Information:
The pushd context manager probably needs to catch the exception, restore the working directory and then re-raise the exception.
Current Version:
cmdstanpy-1.0.0
Summary:
A failing compilation leaves the cwd in the CmdStan folder.
Description:
The
do_commandfunction uses a context manager which doesn't seem to restore the previous working directory, when a compilation failure occurs.Additional Information:
The
pushdcontext manager probably needs to catch the exception, restore the working directory and then re-raise the exception.Current Version:
cmdstanpy-1.0.0