diff options
Diffstat (limited to '_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md')
| -rw-r--r-- | _posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md index 3b7664d..1052223 100644 --- a/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md +++ b/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | |||
| @@ -206,10 +206,10 @@ begin | |||
| 206 | while not eof(f) do | 206 | while not eof(f) do |
| 207 | c char := buffer[0] { Read 1 char from buffer } | 207 | c char := buffer[0] { Read 1 char from buffer } |
| 208 | case c of | 208 | case c of |
| 209 | 'A': color := RGB{0, 0, 255} { Blue } | 209 | 'A': color := RGB(0, 0, 255) { Blue } |
| 210 | 'G': color := RGB{0, 100, 0} { Green } | 210 | 'G': color := RGB(0, 100, 0) { Green } |
| 211 | 'C': color := RGB{255, 0, 0} { Red } | 211 | 'C': color := RGB(255, 0, 0) { Red } |
| 212 | 'T': color := RGB{255, 255, 0} { Yellow } | 212 | 'T': color := RGB(255, 255, 0) { Yellow } |
| 213 | drawRect(i, [x, y], color) | 213 | drawRect(i, [x, y], color) |
| 214 | save(i) { Save PNG image } | 214 | save(i) { Save PNG image } |
| 215 | end | 215 | end |
