We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e927a commit f434805Copy full SHA for f434805
rnaseq_pipeline/wrapped_tools.py
@@ -66,10 +66,10 @@ def move_directory(from_dir, to_dir):
66
shutil.move(from_dir, to_dir)
67
68
def subprocess_run(args, **kwargs):
69
- proc = subprocess.Popen(args, **kwargs)
70
- with ExternalProgramRunContext(proc):
71
- proc.wait()
72
- return proc.returncode
+ with subprocess.Popen(args, **kwargs) as proc:
+ with ExternalProgramRunContext(proc):
+ proc.wait()
+ return proc.returncode
73
74
def rsem_calculate_expression_wrapper():
75
"""Wrapper script for RSEM that copies the reference to a local temporary directory."""
0 commit comments