Commit 2ec94158 authored by MARIJON Pierre's avatar MARIJON Pierre

A read can be choose at extremity by two contig

parent 305b0142
......@@ -25,7 +25,7 @@ def get_path(graph, n1, n2, mode="base"):
if not path:
return path, 0
if len(path) == 2:
if len(path) <= 2:
edge = graph.edges[path[0], path[1]]
return path, 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment