Skip to content

Commit

Permalink
fixed docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
iskandr committed Oct 20, 2019
1 parent f43d5e6 commit bd59c81
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions isovar/translation.py
Expand Up @@ -59,11 +59,11 @@ def __init__(
contains_mutation : bool
Does the amino acid sequence contain a mutation?
mutant_interval_start : int
mutation_start_idx : int
Start of half-open interval for variant amino acids
in the translated sequence
mutant_interval_end : int
mutation_end_idx : int
End of half-open interval for variant amino acids
in the translated sequence
Expand All @@ -73,10 +73,18 @@ def __init__(
frameshift : bool
Was the variant a frameshift relative to the reference sequence?
untrimmed_variant_sequence : VariantSequence
reference_context : ReferenceContext
variant_orf : VariantORF
"""

# TODO:
# get rid of untrimmed_variant_sequence by making
# VariantORF keep track of its inputs

self.amino_acids = amino_acids
self.contains_mutation = contains_mutation
self.mutation_start_idx = mutation_start_idx
Expand Down

0 comments on commit bd59c81

Please sign in to comment.