Skip to content

Commit

Permalink
Merge branch 'postreleasefix/99' into release/99
Browse files Browse the repository at this point in the history
  • Loading branch information
aparton committed Feb 7, 2020
2 parents 26fdcc0 + 8937b3e commit 70251e7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/Bio/EnsEMBL/VEP/Constants.pm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ use warnings;
use base qw(Exporter);

our $VEP_VERSION = 99;
our $VEP_SUB_VERSION = 0;
our $VEP_SUB_VERSION = 1;

our @EXPORT_OK = qw(
@FLAG_FIELDS
Expand Down
2 changes: 1 addition & 1 deletion modules/Bio/EnsEMBL/VEP/OutputFactory/VCF.pm
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ sub output_hash_to_vcf_info_chunk {
push @chunk, $data;
}
# keep 0 values
elsif (defined $hash->{$col}
elsif (defined $hash->{$col} && $hash->{$col} ne ''
&& ($hash->{$col} == 0)) {
push @chunk, $hash->{$col};
}
Expand Down
1 change: 1 addition & 0 deletions modules/Bio/EnsEMBL/VEP/Parser/HGVS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ sub create_VariationFeatures {
my @errors;

foreach my $core_group(@core_groups) {
next if (($hgvs =~ /NM_/ || $hgvs =~ /XM_/) && $core_group eq 'core');
my $sa = $self->get_adaptor($core_group, 'Slice');
my $ta = $self->get_adaptor($core_group, 'Transcript');

Expand Down
7 changes: 7 additions & 0 deletions t/OutputFactory_VCF.t
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,13 @@ is(
"output_hash_to_vcf_info_chunk - 0 kept"
);

is(
$of->output_hash_to_vcf_info_chunk({Allele => '', SIFT => 0}),
'|0',
"output_hash_to_vcf_info_chunk - empty string provided"
);



## get_all_lines_by_InputBuffer
###############################
Expand Down

0 comments on commit 70251e7

Please sign in to comment.