unify single user and multi user behaviour

This commit is contained in:
Davide Scaini
2026-04-09 08:58:35 +02:00
parent 2007f53580
commit 98c42dc443
25 changed files with 678 additions and 232 deletions
+4
View File
@@ -342,6 +342,10 @@ def _resolve_config(
cfg.input_dirs = [Path(input_dir).expanduser()]
if output_dir:
cfg.output_dir = Path(output_dir).expanduser()
# Always write into {data_root}/{handle}/ so the data dir is always
# instance-rooted and single/multi-user share the same layout.
if cfg.output_dir.name != cfg.owner_handle:
cfg.output_dir = cfg.output_dir / cfg.owner_handle
return cfg