Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasprlic committed Aug 13, 2024
1 parent 30addf2 commit bc483b5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/hgvs/pretty/models.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from dataclasses import dataclass
from typing import List

import hgvs
from hgvs.alignmentmapper import AlignmentMapper
from hgvs.assemblymapper import AssemblyMapper
from hgvs.location import Interval
from hgvs.sequencevariant import SequenceVariant

from hgvs.dataproviders.interface import Interface

@dataclass(eq=True, repr=True, frozen=True, order=True)
class VariantCoords:
Expand All @@ -31,7 +30,7 @@ class ProteinData:

@classmethod
def get_header(cls) -> str:
return f"c_pos\ttlc\taa_char\tc_pos\taa_pos"
return "c_pos\ttlc\taa_char\tc_pos\taa_pos"

def __repr__(self) -> str:
return f"{self.c_pos}\t{self.tlc}\t{self.aa_char}\t{self.c_pos %3}\t{self.aa_pos}"
Expand Down Expand Up @@ -97,7 +96,7 @@ class VariantData:
class PrettyConfig:
"""acontainer for various configurations."""

hdp: hgvs.dataproviders.interface.Interface
hdp: Interface
am37: AssemblyMapper
am38: AssemblyMapper
padding_left: int = 20
Expand Down

0 comments on commit bc483b5

Please sign in to comment.