Skip to content

Commit 69c4466

Browse files
committed
2025-03-14 1.2.1: fixed bug of TRAV/DV not being counted as TRD (closes #45)
1 parent 3d12798 commit 69c4466

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = stitchr
3-
version = 1.2.0
3+
version = 1.2.1
44
author = Jamie Heather
55
author_email = jheather@mgh.harvard.edu
66
description = Stitch together coding TCR sequences from V/J/CDR3 information

src/Stitchr/stitchr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import warnings
1616

1717

18-
__version__ = '1.2.0'
18+
__version__ = '1.2.1'
1919
__author__ = 'Jamie Heather'
2020
__email__ = 'jheather@mgh.harvard.edu'
2121

src/Stitchr/stitchrfunctions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
else:
2323
import importlib.resources as importlib_resources # importlib.resources
2424

25-
__version__ = '1.4.1'
25+
__version__ = '1.4.2'
2626
__author__ = 'Jamie Heather'
2727
__email__ = 'jheather@mgh.harvard.edu'
2828

@@ -136,7 +136,7 @@ def get_chain(v, j):
136136
return 'TRA'
137137
elif v.startswith('TRG') and j.startswith('TRG'):
138138
return 'TRG'
139-
elif v.startswith('TRD') and j.startswith('TRD'):
139+
elif (v.startswith('TRA') or v.startswith('TRD')) and j.startswith('TRD'):
140140
return 'TRD'
141141

142142
elif v.startswith('IGH') and j.startswith('IGH'):

0 commit comments

Comments
 (0)