Skip to content

Commit

Permalink
fix for state reached by HGVS test
Browse files Browse the repository at this point in the history
  • Loading branch information
William McLaren committed Sep 4, 2017
1 parent ae8e33e commit 1db0fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/Bio/EnsEMBL/Variation/Utils/VariationEffect.pm
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ sub _ins_del_start_altered {
unless(exists($cache->{ins_del_start_altered})) {
$cache->{ins_del_start_altered} = 0;

return 0 if $bvfo->isa('Bio::EnsEMBL::Variation::TranscriptStructuralVariation');
return 0 if $bvfoa->isa('Bio::EnsEMBL::Variation::TranscriptStructuralVariationAllele');
return 0 unless $bvfoa->seq_is_unambiguous_dna();
return 0 unless _overlaps_start_codon(@_);

Expand Down Expand Up @@ -1128,7 +1128,7 @@ sub _ins_del_stop_altered {
unless(exists($cache->{ins_del_stop_altered})) {
$cache->{ins_del_stop_altered} = 0;

return 0 if $bvfo->isa('Bio::EnsEMBL::Variation::TranscriptStructuralVariation');
return 0 if $bvfoa->isa('Bio::EnsEMBL::Variation::TranscriptStructuralVariationAllele');
return 0 unless $bvfoa->seq_is_unambiguous_dna();
return 0 unless _overlaps_stop_codon(@_);

Expand Down

0 comments on commit 1db0fc6

Please sign in to comment.