Skip to content

Commit

Permalink
Use nightly peptide file to fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kimrutherford committed Jan 8, 2025
1 parent 61793bd commit a6bab08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TranslationTest(unittest.TestCase):

def test_translations(self):
# Get peptide data from pombase
response = requests.get('https://www.pombase.org/releases/latest/fasta/feature_sequences/peptide.fa.gz')
response = requests.get('https://www.pombase.org/nightly_update/fasta/feature_sequences/peptide.fa.gz')
data = gzip.decompress(response.content).decode()
for seq in SeqIO.parse(io.StringIO(data), 'fasta'):
seq: SeqRecord
Expand Down

0 comments on commit a6bab08

Please sign in to comment.