Skip to content

Commit

Permalink
style: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuchcn committed Mar 4, 2025
1 parent 1df4e32 commit 69e9b25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions moPepGen/cli/parse_vep.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from typing import TYPE_CHECKING
import argparse
import gzip
from typing import Dict, List
from pathlib import Path
from moPepGen.parser import VEPParser
from moPepGen.err import TranscriptionStopSiteMutationError, TranscriptionStartSiteMutationError
Expand All @@ -20,6 +19,7 @@
OUTPUT_FILE_FORMATS = ['.gvf']

if TYPE_CHECKING:
from typing import Dict, List
from logging import Logger

# pylint: disable=W0212
Expand Down Expand Up @@ -121,7 +121,7 @@ def parse_vep(args:argparse.Namespace) -> None:
except:
if args.skip_failed:
logger.warning(
f"VEP record failed to convert: {record}"
"VEP record failed to convert: %s", str(record)
)
tally.failed.total += 1
continue
Expand Down
1 change: 0 additions & 1 deletion moPepGen/svgraph/ThreeFrameTVG.py
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,6 @@ def fit_into_codons(self) -> None:
queue.appendleft(cur)
continue

cur_copy = str(cur.seq.seq)
try:
self.align_variants(cur)
except err.FailedToFindVariantBubbleError:
Expand Down

0 comments on commit 69e9b25

Please sign in to comment.