Pull Request #158 attempted to "fix" the detection of symbolic link in the simulation path, unfortunately the contributor didn't test it. In the patch == was incorrectly used in place for !=, so now Python throws a RuntimeError if chdir() succeeds, and it now breaks all Python simulations.
# wrong
# v
if Path(os.getcwd()).resolve() == Path(sim_path).resolve():
raise RuntimeError
Pull Request #158 attempted to "fix" the detection of symbolic link in the simulation path, unfortunately the contributor didn't test it. In the patch
==
was incorrectly used in place for!=
, so now Python throws aRuntimeError
ifchdir()
succeeds, and it now breaks all Python simulations.