From f6e4d910b796a8d68740cf767655be01a83095b2 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Tue, 17 Sep 2024 09:00:41 +0200 Subject: [PATCH] splitting hairs here --- src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py b/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py index c96eaa2e..cbddf6bf 100644 --- a/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py +++ b/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py @@ -228,10 +228,11 @@ def main(par: dict[str, Any], meta: dict[str, Any], temp_dir: str): # Run command print("> " + ' '.join(cmd), flush=True) - _ = subprocess.check_call( + _ = subprocess.run( cmd, cwd=os.path.dirname(config_file), - env=env + env=env, + check=True ) # Copy outputs