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