MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / parser

Function parser

scripts/run_pipeline.py:12–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def parser() -> argparse.ArgumentParser:
13 p = argparse.ArgumentParser(description=__doc__ or "run pipeline")
14 p.add_argument(
15 "--input",
16 required=True,
17 help="Paper title, DOI, URL, arXiv id, local PDF path, or JSON artifact.",
18 )
19 p.add_argument(
20 "--workdir",
21 default="tmp/DeepPaperNote_runs",
22 help="Directory for intermediate artifacts.",
23 )
24 p.add_argument("--prefix", default="run", help="Filename prefix for artifacts.")
25 return p
26
27
28def run_step(cmd: list[str]) -> None:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected