Skip to content

add cwd_helper module

Sebastian Müller requested to merge CWD_handling into main

Since most models need to run in a specific CWD, I added some convenience routines to deal with cwd handling:

  • set_directory: a context manager to set the working directory
  • execute_in_cwd: a decorator for class methods to run the method in the CWD defined by the class attribute self.cwd

Merge request reports

Loading