Skip to content

Commit 9f1911b

Browse files
committed
Test PR to confirm the no important files change fix worked. DO NO MERGE!
1 parent c8b3a39 commit 9f1911b

File tree

5 files changed

+56
-6
lines changed

5 files changed

+56
-6
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"introduction": {
3+
"authors": [
4+
"BethanyG"
5+
]
6+
},
7+
"approaches": [
8+
{
9+
"uuid": "",
10+
"slug": "",
11+
"title": "",
12+
"blurb": "",
13+
"authors": [
14+
"BethanyG"
15+
]
16+
},
17+
{
18+
"uuid": "",
19+
"slug": "",
20+
"title": "",
21+
"blurb": "",
22+
"authors": [
23+
"BethanyG"
24+
]
25+
},
26+
{
27+
"uuid": "",
28+
"slug": "",
29+
"title": "",
30+
"blurb": "",
31+
"authors": [
32+
"BethanyG"
33+
]
34+
}
35+
]
36+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Introduction
2+
3+
The goal of the `Protein Translation` exercise is to transform an input string representing mRNA [codons][codons] to a `list` of corresponding [amino acid][amino acids] names.
4+
5+
There are many different ways to solve this problem in Python, but all solutions use some form of mapping that connects three-letter codon codes to their amino acid names.
6+
The most common mapping is to use a dictionary, but [`Enums`][enums]
7+
8+
9+
10+
11+
12+
13+
14+
15+
16+
[codons]: https://en.wikipedia.org/wiki/DNA_and_RNA_codon_tables
17+
[amino acids]: https://en.wikipedia.org/wiki/Amino_acid#:~:text=Amino%20acids%20are%20the%20precursors,to%20two%20neighboring%20amino%20acids.
18+
[enums]: https://docs.python.org/3/howto/enum.html#

exercises/practice/protein-translation/.articles/config.json

Whitespace-only changes.

exercises/practice/protein-translation/.meta/tests.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ description = "Tyrosine RNA sequence 1"
4545

4646
[47bcfba2-9d72-46ad-bbce-22f7666b7eb1]
4747
description = "Tyrosine RNA sequence 2"
48+
include = false
4849

4950
[3a691829-fe72-43a7-8c8e-1bd083163f72]
5051
description = "Cysteine RNA sequence 1"

exercises/practice/protein-translation/protein_translation_test.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These tests are auto-generated with test data from:
22
# https://github.com/exercism/problem-specifications/tree/main/exercises/protein-translation/canonical-data.json
3-
# File last updated on 2024-07-08
3+
# File last updated on 2025-01-11
44

55
import unittest
66

@@ -60,11 +60,6 @@ def test_tyrosine_rna_sequence_1(self):
6060
expected = ["Tyrosine"]
6161
self.assertEqual(proteins(value), expected)
6262

63-
def test_tyrosine_rna_sequence_2(self):
64-
value = "UAC"
65-
expected = ["Tyrosine"]
66-
self.assertEqual(proteins(value), expected)
67-
6863
def test_cysteine_rna_sequence_1(self):
6964
value = "UGU"
7065
expected = ["Cysteine"]

0 commit comments

Comments
 (0)