When no specific working directory is provided when launching muscle_manager, a run directory is created with the format: run_<model name>_YYMMDD_HHMMSS.
It would be nice if muscle_manager also creates a symlink to the current / last run directory:
Symlink format is: current_run_<model name>
If this already exists AND is a symlink, it is updated
If this already exists AND is not a symlink (i.e. an existing file or folder), skip creating a symlink
Note: symlinks on Windows may not work - capture any errors from os.symlink and log them as warning, but continue with the simulation.
Symlink is updated right after creating the directory
When users supply their own run directory (muscle_manager --run-dir <run_dir>) no symlink is created
Add an option to disable symlink creation (e.g. muscle_manager --no-current-run-dir)
When no specific working directory is provided when launching
muscle_manager
, a run directory is created with the format:run_<model name>_YYMMDD_HHMMSS
.It would be nice if
muscle_manager
also creates a symlink to the current / last run directory:current_run_<model name>
os.symlink
and log them as warning, but continue with the simulation.muscle_manager --run-dir <run_dir>
) no symlink is createdmuscle_manager --no-current-run-dir
)