()
| 119 | } |
| 120 | |
| 121 | func ExampleParseCodonJSON() { |
| 122 | file, _ := os.ReadFile("../../data/bsub_codon_test.json") |
| 123 | codontable := codon.ParseCodonJSON(file) |
| 124 | |
| 125 | fmt.Println(codontable.GetWeightedAminoAcids()[0].Codons[0].Weight) |
| 126 | //output: 28327 |
| 127 | } |
| 128 | |
| 129 | func ExampleWriteCodonJSON() { |
| 130 | codontable := codon.ReadCodonJSON("../../data/bsub_codon_test.json") |
nothing calls this directly
no test coverage detected