Skip to content

Commit a7b2867

Browse files
committed
Update CLI
1 parent b44ac93 commit a7b2867

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

plugboard/cli/process/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ def tune(
129129
) -> None:
130130
"""Optimise a Plugboard process by adjusting its tunable parameters."""
131131
config_spec = _read_yaml(config)
132-
tuner = _build_tuner(config_spec)
132+
with add_sys_path(config.parent):
133+
tuner = _build_tuner(config_spec)
133134

134135
with Progress(
135136
SpinnerColumn("arrow3"),

0 commit comments

Comments
 (0)