Skip to content

Commit

Permalink
Fix bug in error message
Browse files Browse the repository at this point in the history
  Thanks @AntoineHo
  (issue #20)
  • Loading branch information
Giorgio Gonnella committed Jun 4, 2021
1 parent 8e977f3 commit 987dd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfapy/graph_operations/linear_paths.py
Expand Up @@ -334,7 +334,7 @@ def __create_merged_segment(self, segpath, redundant_junctions=False,
merged.LN = len(merged.sequence)
elif self._vlevel > 0 and merged.LN != len(merged.sequence):
raise gfapy.InconsistencyError(
"Computed sequence length {} ".format(merged.sequence.length)+
"Computed sequence length {} ".format(len(merged.sequence))+
"and computed LN {} differ".format(merged.LN))
if merged.length is not None:
for count_tag in ["KC", "RC", "FC"]:
Expand Down

0 comments on commit 987dd23

Please sign in to comment.