Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Aug 29, 2020
1 parent a400ec6 commit 41ac992
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion WDL/StdLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ def _write(
) -> Callable[[Value.Base], Value.File]:
"generate write_* function implementation based on serialize"

def _f(v: Value.Base,) -> Value.File:
def _f(
v: Value.Base,
) -> Value.File:
os.makedirs(self._write_dir, exist_ok=True)
with tempfile.NamedTemporaryFile(dir=self._write_dir, delete=False) as outfile:
outfile: BinaryIO = outfile # pyre-ignore
Expand Down
4 changes: 1 addition & 3 deletions WDL/runtime/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ def __init__(self, uri: str, message: str = "") -> None:


class RunFailed(_RuntimeError):
"""
"""
""""""

exe: Union[_Task, _Workflow]
run_id: str
Expand Down

0 comments on commit 41ac992

Please sign in to comment.