MCPcopy Create free account
hub / github.com/RingBDStack/GDAP / write_txt_file

Function write_txt_file

seq2seq/utils.py:615–619  ·  view source on GitHub ↗
(ordered_tgt, path)

Source from the content-addressed store, hash-verified

613
614
615def write_txt_file(ordered_tgt, path):
616 f = Path(path).open("w")
617 for ln in ordered_tgt:
618 f.write(ln + "\n")
619 f.flush()
620
621
622def chunks(lst, n):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected