Skip to content

Commit 70251e7

Browse files
committed
Merge branch 'postreleasefix/99' into release/99
2 parents 26fdcc0 + 8937b3e commit 70251e7

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

modules/Bio/EnsEMBL/VEP/Constants.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ use warnings;
5353
use base qw(Exporter);
5454

5555
our $VEP_VERSION = 99;
56-
our $VEP_SUB_VERSION = 0;
56+
our $VEP_SUB_VERSION = 1;
5757

5858
our @EXPORT_OK = qw(
5959
@FLAG_FIELDS

modules/Bio/EnsEMBL/VEP/OutputFactory/VCF.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ sub output_hash_to_vcf_info_chunk {
370370
push @chunk, $data;
371371
}
372372
# keep 0 values
373-
elsif (defined $hash->{$col}
373+
elsif (defined $hash->{$col} && $hash->{$col} ne ''
374374
&& ($hash->{$col} == 0)) {
375375
push @chunk, $hash->{$col};
376376
}

modules/Bio/EnsEMBL/VEP/Parser/HGVS.pm

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ sub create_VariationFeatures {
168168
my @errors;
169169

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

t/OutputFactory_VCF.t

+7
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,13 @@ is(
260260
"output_hash_to_vcf_info_chunk - 0 kept"
261261
);
262262

263+
is(
264+
$of->output_hash_to_vcf_info_chunk({Allele => '', SIFT => 0}),
265+
'|0',
266+
"output_hash_to_vcf_info_chunk - empty string provided"
267+
);
268+
269+
263270

264271
## get_all_lines_by_InputBuffer
265272
###############################

0 commit comments

Comments
 (0)