Skip to content

Commit

Permalink
BUG FIX: Incorrect logger message
Browse files Browse the repository at this point in the history
  • Loading branch information
mnshgl0110 committed Jul 15, 2022
1 parent 2320275 commit 767f2c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syri/scripts/syri.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def syri(args):
pass
key_found = key_found + [chrid]
if len(seq) < achr_size[chrid]:
logger.error('Length of reference sequence of ' + id + ' is less than the maximum coordinate of its aligned regions. Exiting.')
logger.error('Length of reference sequence of ' + chrid + ' is less than the maximum coordinate of its aligned regions. Exiting.')
sys.exit()
for achr in achrs:
if achr not in key_found:
Expand All @@ -178,7 +178,7 @@ def syri(args):
pass
key_found = key_found + [chrid]
if len(seq) < bchr_size[chrlink[chrid]]:
logger.error('Length of query sequence of ' + id + ' is less than the maximum coordinate of its aligned regions. Exiting.')
logger.error('Length of query sequence of ' + chrid + ' is less than the maximum coordinate of its aligned regions. Exiting.')
sys.exit()
for bchr in list(chrlink.keys()):
if bchr not in key_found:
Expand All @@ -195,7 +195,7 @@ def syri(args):
pass
key_found = key_found + [chrid]
if len(seq) < bchr_size[chrid]:
logger.error('Length of query sequence of ' + id + ' is less than the maximum coordinate of its aligned regions. Exiting.')
logger.error('Length of query sequence of ' + chrid + ' is less than the maximum coordinate of its aligned regions. Exiting.')
sys.exit()
for bchr in list(bchr_size.keys()):
if bchr not in key_found:
Expand Down

0 comments on commit 767f2c3

Please sign in to comment.