Skip to content

Commit bc8bf84

Browse files
committed
Merge branch 'hotfix/v3.5.1'
2 parents f2d76a3 + c4468f5 commit bc8bf84

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

repo_utils/test_files/answer_key/help.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
usage: truvari [-h] CMD ...
22

3-
Truvari v4.0.0-dev Structural Variant Benchmarking and Annotation
3+
Truvari v3.5.1 Structural Variant Benchmarking and Annotation
44

55
Available commands:
66
bench Performance metrics from comparison of two VCFs

truvari/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
:data:`truvari.SZBINTYPE`
7575
"""
7676

77-
__version__ = '4.0.0-dev'
77+
__version__ = '3.5.1'
7878

7979

8080
from truvari.annotations.af_calc import (

truvari/collapse.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ def collapse_into_entry(entry, others, hap_mode=False):
132132
"Unable to set FORMAT %s for sample %s", key, sample)
133133
logging.warning("Kept entry: %s:%d %s", entry.chrom, entry.pos, entry.id)
134134
logging.warning("Colap entry: %s:%d %s", o_entry.chrom, o_entry.pos, o_entry.id)
135+
except KeyError:
136+
logging.debug("Unshared format %s in sample %s ignored for pair %s:%d %s %s:%d %s",
137+
key, sample, entry.chrom, entry.pos, entry.id, o_entry.chrom,
138+
o_entry.pos, o_entry.id)
139+
135140

136141
return entry, n_consolidate
137142

0 commit comments

Comments
 (0)