Skip to content

Commit

Permalink
fix: ensure ExecutableRunner stderr goes somewhere by default
Browse files Browse the repository at this point in the history
  • Loading branch information
clintval committed Oct 17, 2024
1 parent 364a9dc commit 32fed41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions prymer/offtarget/bwa.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
""" # noqa: E501

import os
import subprocess
from dataclasses import dataclass
from pathlib import Path
from typing import ClassVar
Expand Down
2 changes: 1 addition & 1 deletion prymer/util/executable_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(
command: list[str],
stdin: int = subprocess.PIPE,
stdout: int = subprocess.PIPE,
stderr: int = subprocess.PIPE,
stderr: int = subprocess.DEVNULL,
) -> None:
if len(command) == 0:
raise ValueError(f"Invocation must not be empty, received {command}")
Expand Down

0 comments on commit 32fed41

Please sign in to comment.