Skip to content

Commit

Permalink
Fixed bug in finding invariant sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Stubbington committed May 2, 2017
1 parent 455f4d3 commit 40716f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tracerlib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ def __init__(self, d):
self.expected_string = self._get_expected_string()

def check_for_match(self, cell, locus):
#pdb.set_trace()
found_identifiers = set()
found_locus = False

Expand All @@ -405,8 +404,8 @@ def check_for_match(self, cell, locus):
v = ident[0]
j = ident[2]
for ivr in invariant_recs:
if (v in ivr['V'] or ivr['V'] == '*') and (
j in ivr['J'] or ivr['J'] == '*'):
if (v == ivr['V'] or ivr['V'] == '*') and (
j == ivr['J'] or ivr['J'] == '*'):
found_locus = True
found_identifiers.add("_".join(ident))

Expand Down

0 comments on commit 40716f3

Please sign in to comment.