Commit 1c3ee53d authored by Pierre Marijon's avatar Pierre Marijon

Add catch warning exemple in readme

parent e90f73f4
......@@ -52,7 +52,11 @@ with open("my.gfa") as fh:
p.parse_lines(fh) # Parser.parse_lines can parse any iterable
# alternative usage
for line in fh:
# or
warning = p.parse_line(line)
if warning is not None:
# another alternative usage
def paf_generator():
......@@ -78,8 +82,6 @@ for gfa_line in p.generate_gfa():
p.graph # get an networkx graph where overlap are store
## Bug report
For bug report you can send e-mail to or create [issue](
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