Skip to content

Commit d493b9d

Browse files
authored
Andrew/fix outdir mocker (#286)
* Make error more verbose * Allow manual running of big test * Manually set output dir in mocktest * Update output dir again * Again fix directory * Add input to mock tests * Fix syntax for generating paths in mocker
1 parent 263a4d8 commit d493b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py/kaleido/_mocker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _load_figures_from_paths(paths: list[Path]):
4848
_logger.info(f"Yielding {path.stem}")
4949
yield {
5050
"fig": figure,
51-
"path": args.output / f"{path.stem}.{args.format}",
51+
"path": str(Path(args.output) / f"{path.stem}.{args.format}"),
5252
}
5353
else:
5454
raise RuntimeError(f"Path {path} is not a file.")

0 commit comments

Comments
 (0)