Skip to content

Commit

Permalink
correct an error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Gonnella committed Feb 7, 2022
1 parent d90bdf1 commit 0aafcef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gfapy/line/edge/gfa2/alignment_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def _substring_type(self, begpos, endpos):
if gfapy.posvalue(begpos) > gfapy.posvalue(endpos):
raise gfapy.ValueError(
"Line: {}\n".format(str(self))+
"begin > end: {}$ > {}".format(gfapy.posvalue(begpos),
gfapy.posvalue(endpos)))
"begin > end: {} > {}".format(gfapy.posvalue(begpos),
gfapy.posvalue(endpos)))
if gfapy.isfirstpos(begpos):
if gfapy.isfirstpos(endpos):
return ("pfx", True)
Expand Down

0 comments on commit 0aafcef

Please sign in to comment.