MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / write_csv

Function write_csv

experiments/main_experiment/_combine_baseline_tables.py:87–91  ·  view source on GitHub ↗
(path: Path, rows: list[list[str]])

Source from the content-addressed store, hash-verified

85
86
87def write_csv(path: Path, rows: list[list[str]]) -> None:
88 with path.open("w", encoding="utf-8", newline="") as handle:
89 writer = csv.writer(handle)
90 writer.writerow(HEADERS)
91 writer.writerows(rows)
92
93
94def parse_args() -> argparse.Namespace:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected