Commit 58cc0d4a authored by Pierre Marijon's avatar Pierre Marijon

Replace logging in parser by return value

parent 3ebbb658
......@@ -79,6 +79,7 @@ p.graph # get an networkx graph where overlap are store
## Bug report
## Bug report
For bug report you can send e-mail to or create [issue](
import os
import sys
import time
import logging
import argparse
from paf2gfa import Parser
def main(args=None):
......@@ -41,7 +43,9 @@ def main(args=None):
if arg["progression"] and time.time() - last_time > 2:
res = parser.parse_line(line)
if res is not None:
precent = format((arg["paf"].tell() * 100) / file_size, '.2f')
precent += "%"
This diff is collapsed.
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