Mercurial > repos > richard-burhans > segalign
comparison runner.py @ 20:96ff17622b17 draft
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 4b56e02cfd6394c55895dd013105c4ef04519842
author | richard-burhans |
---|---|
date | Wed, 07 Aug 2024 20:34:45 +0000 |
parents | cefa7625d6cb |
children | 25fa179d9d0a |
comparison
equal
deleted
inserted
replaced
19:cefa7625d6cb | 20:96ff17622b17 |
---|---|
384 | 384 |
385 if args.debug: | 385 if args.debug: |
386 beg: int = time.monotonic_ns() | 386 beg: int = time.monotonic_ns() |
387 r_beg = resource.getrusage(resource.RUSAGE_CHILDREN) | 387 r_beg = resource.getrusage(resource.RUSAGE_CHILDREN) |
388 | 388 |
389 process = subprocess.run(run_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) | 389 process = subprocess.run(run_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=1, text=True) |
390 | 390 |
391 for line in process.stdout.splitlines(): | 391 for line in process.stdout.splitlines(): |
392 commands.add(line) | 392 commands.add(line) |
393 segalign_q.put(line) | 393 segalign_q.put(line) |
394 | 394 |