diff --git a/repo_utils/answer_key/vcf2df/multi_vcf2df.jl b/repo_utils/answer_key/vcf2df/multi_vcf2df.jl index 3336392f..4f46bd82 100644 Binary files a/repo_utils/answer_key/vcf2df/multi_vcf2df.jl and b/repo_utils/answer_key/vcf2df/multi_vcf2df.jl differ diff --git a/repo_utils/answer_key/vcf2df/single_vcf2df.jl b/repo_utils/answer_key/vcf2df/single_vcf2df.jl index 3578d234..591ad469 100644 Binary files a/repo_utils/answer_key/vcf2df/single_vcf2df.jl and b/repo_utils/answer_key/vcf2df/single_vcf2df.jl differ diff --git a/repo_utils/answer_key/vcf2df/subset_vcf2df.jl b/repo_utils/answer_key/vcf2df/subset_vcf2df.jl index aaec5cd5..8ec36bce 100644 Binary files a/repo_utils/answer_key/vcf2df/subset_vcf2df.jl and b/repo_utils/answer_key/vcf2df/subset_vcf2df.jl differ diff --git a/repo_utils/answer_key/vcf2df/truv2df.jl b/repo_utils/answer_key/vcf2df/truv2df.jl index 2de75edc..946ef6dd 100644 Binary files a/repo_utils/answer_key/vcf2df/truv2df.jl and b/repo_utils/answer_key/vcf2df/truv2df.jl differ diff --git a/repo_utils/answer_key/vcf2df/vcf2df.jl b/repo_utils/answer_key/vcf2df/vcf2df.jl index a1b35b90..920b07ef 100644 Binary files a/repo_utils/answer_key/vcf2df/vcf2df.jl and b/repo_utils/answer_key/vcf2df/vcf2df.jl differ diff --git a/repo_utils/answer_key/vcf2df/vcf2df_bare.jl b/repo_utils/answer_key/vcf2df/vcf2df_bare.jl index 9b226853..867887e7 100644 Binary files a/repo_utils/answer_key/vcf2df/vcf2df_bare.jl and b/repo_utils/answer_key/vcf2df/vcf2df_bare.jl differ diff --git a/truvari/comparisons.py b/truvari/comparisons.py index c7a7e9da..816ec5b1 100644 --- a/truvari/comparisons.py +++ b/truvari/comparisons.py @@ -418,7 +418,7 @@ def entry_variant_type(entry): try: if entry.alleles_variant_types[1] == 'BND': return truvari.SV.BND - except IndexError: + except (IndexError, AttributeError): pass ret_type = None diff --git a/truvari/vcf2df.py b/truvari/vcf2df.py index 74811356..5955ad40 100644 --- a/truvari/vcf2df.py +++ b/truvari/vcf2df.py @@ -77,7 +77,7 @@ def get_svtype(svtype): >>> truvari.get_svtype("INS") >>> truvari.get_svtype("foo") - + """ try: return SV.__members__[svtype]