Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ACEnglish committed Feb 5, 2025
1 parent e3cb195 commit 49b236f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![pylint](imgs/pylint.svg)](https://github.com/acenglish/truvari/actions/workflows/pylint.yml)
[![FuncTests](https://github.com/acenglish/truvari/actions/workflows/func_tests.yml/badge.svg?branch=develop&event=push)](https://github.com/acenglish/truvari/actions/workflows/func_tests.yml)
[![coverage](imgs/coverage.svg)](https://github.com/acenglish/truvari/actions/workflows/func_tests.yml)
[![develop](https://img.shields.io/github/commits-since/acenglish/truvari/v5.0.0)](https://github.com/ACEnglish/truvari/compare/v5.0.0...develop)
[![develop](https://img.shields.io/github/commits-since/acenglish/truvari/v5.1.1)](https://github.com/ACEnglish/truvari/compare/v5.1.1...develop)
[![Downloads](https://static.pepy.tech/badge/truvari)](https://pepy.tech/project/truvari)

![Logo](https://raw.githubusercontent.com/ACEnglish/truvari/develop/imgs/BoxScale1_DarkBG.png)
Expand Down
2 changes: 1 addition & 1 deletion repo_utils/answer_key/help.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
usage: truvari [-h] CMD ...

Truvari v5.1.1 Structural Variant Benchmarking and Annotation
Truvari v5.1.2-dev Structural Variant Benchmarking and Annotation

Available commands:
bench Performance metrics from comparison of two VCFs
Expand Down
2 changes: 1 addition & 1 deletion truvari/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
:data:`truvari.SZBINTYPE`
"""

__version__ = '5.1.1'
__version__ = '5.1.2-dev'


from truvari.bench import (
Expand Down
4 changes: 2 additions & 2 deletions truvari/variant_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def same_type(self, other):
b_type = truvari.SV.INS
return a_type == b_type

def seqsim(self, other, roll=True):
def seqsim(self, other):
"""
Calculate sequence similarity of two entries. If reference is not None,
compare their shared reference context. Otherwise, use the unroll technique.
Expand Down Expand Up @@ -741,7 +741,7 @@ def seqsim(self, other, roll=True):
b_seq = b_seq.upper()
st_dist, ed_dist = self.distance(other)

if not roll or st_dist == 0 or ed_dist == 0:
if not self.params.no_roll or st_dist == 0 or ed_dist == 0:
return truvari.seqsim(a_seq, b_seq)

# Return best of rolled, unrolled from both ends, and direct similarity
Expand Down

0 comments on commit 49b236f

Please sign in to comment.