MCPcopy Create free account
hub / github.com/InternScience/SciReason / save_as_json

Function save_as_json

tools/convert_alignmentbench.py:66–68  ·  view source on GitHub ↗
(data, output_file='./alignment_bench.json')

Source from the content-addressed store, hash-verified

64
65
66def save_as_json(data, output_file='./alignment_bench.json'):
67 with open(output_file, 'w', encoding='utf-8') as file:
68 json.dump(data, file, indent=4, ensure_ascii=False)
69
70
71def parse_args():

Callers 1

Calls 1

openFunction · 0.85

Tested by

no test coverage detected