Skip to content

Commit

Permalink
Fixing small bug in snakemake.executors
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Feb 28, 2022
1 parent ccddf98 commit db1b245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snakemake/executors/__init__.py
Expand Up @@ -1020,11 +1020,11 @@ def copy_stdout(executor, process):
while process.poll() is None and executor.wait:
buf = process.stdout.readline()
if buf:
self.stdout.write(buf)
sys.stdout.write(buf)
# one final time ...
buf = process.stdout.readline()
if buf:
self.stdout.write(buf)
sys.stdout.write(buf)

def wait(executor, process):
while executor.wait:
Expand Down

0 comments on commit db1b245

Please sign in to comment.