MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _default_output

Function _default_output

SLiCAP/schematic/cli.py:61–67  ·  view source on GitHub ↗

Default output path in the project's subdir (cir/img). Must be called after _load_scene so the project root is set from the input.

(input_path: Path, kind: str, suffix: str)

Source from the content-addressed store, hash-verified

59# ── subcommands ───────────────────────────────────────────────────────────────
60
61def _default_output(input_path: Path, kind: str, suffix: str) -> Path:
62 """Default output path in the project&#x27;s <kind> subdir (cir/img).
63
64 Must be called after _load_scene so the project root is set from the input.
65 """
66 from . import project
67 return project.subdir(kind) / input_path.with_suffix(suffix).name
68
69
70def cmd_netlist(args):

Callers 3

cmd_netlistFunction · 0.85
cmd_svgFunction · 0.85
cmd_pdfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected