Commit 38c7c212 by MARIJON Pierre

propagate correction in code duplicate

parent 2f5f83ce
......@@ -116,7 +116,7 @@ def build_correspondance_function(filename, invert):
return corres_func
def clean_read_name(name):
return name.replace("read", "").strip('0')
return name.replace("read", "").lstrip('0')
def read_contig_layout(filename):
......
......@@ -99,7 +99,7 @@ def parse_canu_read_name(filename, invert):
return id2readname
def clean_read_name(name):
return name.replace("read", "").strip('0')
return name.replace("read", "").lstrip('0')
class FakeDict:
......
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