Skip to content

Commit

Permalink
Improve style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibvafa committed Sep 20, 2024
1 parent 38866f8 commit 3186250
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CodonTransformer/CodonData.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
from tqdm import tqdm

from CodonTransformer.CodonUtils import (
STOP_SYMBOLS,
AMBIGUOUS_AMINOACID_MAP,
AMINO2CODON_TYPE,
AMINO_ACIDS,
ORGANISM2ID,
START_CODONS,
STOP_CODONS,
STOP_SYMBOL,
STOP_SYMBOLS,
find_pattern_in_fasta,
get_taxonomy_id,
sort_amino2codon_skeleton,
Expand Down
12 changes: 6 additions & 6 deletions tests/test_CodonPrediction.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import random
import unittest
import warnings
import random

import torch

from CodonTransformer.CodonData import get_amino_acid_sequence
from CodonTransformer.CodonUtils import (
AMINO_ACIDS,
STOP_SYMBOLS,
ORGANISM2ID,
)
from CodonTransformer.CodonPrediction import (
load_model,
load_tokenizer,
predict_dna_sequence,
)
from CodonTransformer.CodonUtils import (
AMINO_ACIDS,
ORGANISM2ID,
STOP_SYMBOLS,
)


class TestCodonPrediction(unittest.TestCase):
Expand Down

0 comments on commit 3186250

Please sign in to comment.