MCPcopy Create free account
hub / github.com/bebop/poly / WriteCodonJSON

Function WriteCodonJSON

synthesis/codon/codon.go:581–584  ·  view source on GitHub ↗

WriteCodonJSON writes a codonTable struct out to JSON.

(codonTable *TranslationTable, path string)

Source from the content-addressed store, hash-verified

579
580// WriteCodonJSON writes a codonTable struct out to JSON.
581func WriteCodonJSON(codonTable *TranslationTable, path string) {
582 file, _ := json.MarshalIndent(codonTable, "", " ")
583 _ = os.WriteFile(path, file, 0644)
584}
585
586/******************************************************************************
587Dec, 17, 2020

Callers 2

ExampleWriteCodonJSONFunction · 0.92
TestWriteCodonJSONFunction · 0.85

Calls

no outgoing calls

Tested by 2

ExampleWriteCodonJSONFunction · 0.74
TestWriteCodonJSONFunction · 0.68