edflow.project_manager module

Summary

Classes:

ProjectManager

Singelton managing all directories for one Experiment.

Reference

class edflow.project_manager.ProjectManager(base=None, given_directory=None, code_root='.', postfix=None)[source]

Bases: object

Singelton managing all directories for one Experiment.

exists = False
__init__(base=None, given_directory=None, code_root='.', postfix=None)[source]
Parameters
  • base (str) – Top level directory, where all experiments live.

  • given_directory (str) – If not None, this will be used to get all relevant paths.

  • code_root (str) – Path to where the code lives.

setup()[source]

Make all the directories.

setup_new_eval()[source]

Always create subfolder in eval to avoid clashes between evaluations.

copy_code()[source]

Copies all code to the code directory of the project, for best possible documentation.

git_commit()[source]